mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-02 01:04:41 +02:00
Added permission system, to control who can edit Twig labels.
This commit is contained in:
parent
f1a6bc31a1
commit
1a35adab17
6 changed files with 41 additions and 8 deletions
|
@ -482,6 +482,9 @@ perms: # Here comes a list with all Permission names (they have a perm_[name] co
|
|||
label: "perm.self.delete_profiles"
|
||||
bit: 4
|
||||
alsoSet: ['read_profiles', 'edit_profiles', 'create_profiles']
|
||||
|
||||
use_twig:
|
||||
label: "perm.labels.use_twig"
|
||||
bit: 12
|
||||
alsoSet: ['create_labels', 'edit_options']
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue