mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-05 08:59:36 +00:00
Added a permission to control which users can access private attachments.
This commit is contained in:
parent
9769915b34
commit
e83d72ec10
7 changed files with 31 additions and 9 deletions
|
|
@ -187,6 +187,10 @@ perms: # Here comes a list with all Permission names (they have a perm_[name] co
|
|||
label: "perm.revert_elements"
|
||||
bit: 10
|
||||
alsoSet: ["read", "edit", "create", "delete", "show_history"]
|
||||
show_private:
|
||||
label: "perm.attachment_show_private"
|
||||
bit: 12
|
||||
alsoSet: ["read"]
|
||||
|
||||
parts_order:
|
||||
<<: *PART_ATTRIBUTE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue