Skip to content

Client side permissions

Yannis Barlas requested to merge permissions-new into develop

Attaches an object with permissions data on the current user client-side.

Values can be checked by:

  • boolean values (eg. isSysAdmin: true)
  • checking an array of ids for values (eg. organisation with id 1234 is in editorForOrganisation: ['1234', '5678', '9012'], so the current user is an editor for organisation 1234)
Edited by Yannis Barlas

Merge request reports