mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-24 11:59:31 +00:00
Added permissions to label system.
This commit is contained in:
parent
fde1d7be4f
commit
5a9be023b1
6 changed files with 62 additions and 27 deletions
|
|
@ -466,11 +466,22 @@ perms: # Here comes a list with all Permission names (they have a perm_[name] co
|
|||
edit_options:
|
||||
label: "perm.self.edit_options"
|
||||
bit: 2
|
||||
delete_profiles:
|
||||
label: "perm.self.delete_profiles"
|
||||
bit: 4
|
||||
alsoSet: ['create_labels']
|
||||
read_profiles:
|
||||
label: "perm.self.read_profiles"
|
||||
bit: 10
|
||||
edit_profiles:
|
||||
label: "perm.self.edit_profiles"
|
||||
bit: 6
|
||||
alsoSet: ['read_profiles']
|
||||
create_profiles:
|
||||
label: "perm.self.create_profiles"
|
||||
bit: 8
|
||||
alsoSet: ['read_profiles', 'edit_profiles']
|
||||
delete_profiles:
|
||||
label: "perm.self.delete_profiles"
|
||||
bit: 4
|
||||
alsoSet: ['read_profiles', 'edit_profiles', 'create_profiles']
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue