Access Control Lists (Permissions)

Note
This page is marked as "earlydoc", which means that it more of a collection of notes and an early draft before this page turns into good documentation later on. It is hoped that this early form of documentation is useful to you, but please understand that most documentation pages are higher quality than this. If you have suggestions or comments, please do get in contact or consider contributing your suggestions to the OliveTin documentation.

OliveTin supports Access Control Lists.

You can have one default access control list, list this;

config.yaml
defaultPermissions:
  view: false
  exec: false
  logs: true

accessControlLists:
  - name: admins
    addToEveryAction: true
    permissions:
      view: true
      exec: true
      logs: true

Or you can specify access control lists per action:

You can have one default access control list, list this;

config.yaml
defaultPermissions:
  view: false
  exec: false

accessControlLists:
  - name: admins
    permissions:
      view: true
      exec: true

actions:
  - title: Shutdown Reactor
    acls:
      - admins