Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.43 KB

File metadata and controls

26 lines (20 loc) · 1.43 KB

Domain 'privileges'

The privileges subfolder contains CSV import files for saving privileges in bulk. This is a possible example of its content:

privileges/
  ├──privileges.csv
  └── ...

There is currently only one format for the privilege CSV line, here are the possible headers with a sample data set:

Uuid Privilege name Description _order:1000
Read Attachments Has read access to attachments.
9d4cbaeb-9c87-442f-bfdd-0d17402f319f Create Attachments Has write access to attachments.

Headers that start with an underscore such as _order:1000 are metadata headers. The values in the columns under those headers are never read by the CSV parser.

The privilege domain is somewhat different than other domains in the sense that privileges cannot almost not be edited. This domain will mainly be used to create new privileges.


Let's review some important headers.

Header Privilege name

This is not a localized header.
The privilege name is a primary identifier (alongside its UUID) to access a privilege, therefore the privilege name cannot be edited once the privilege has been created.

Further examples:

Please look at the test configuration folder for sample import files for all domains, see here.