mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-23 04:14:36 +02:00
Hide trees in sidebar, if user does not have permission to show them (and protect the JSON endpoints)
This commit is contained in:
parent
10a035fcea
commit
d0f7949bc9
5 changed files with 52 additions and 21 deletions
|
@ -207,6 +207,14 @@ perms: # Here comes a list with all Permission names (they have a perm_[name] co
|
|||
label: "perm.delete_logs"
|
||||
alsoSet: 'show_logs'
|
||||
|
||||
attachments:
|
||||
label: "perm.part.attachments"
|
||||
operations:
|
||||
show_private:
|
||||
label: "perm.attachments.show_private"
|
||||
list_attachments:
|
||||
label: "perm.attachments.list_attachments"
|
||||
|
||||
self:
|
||||
label: "perm.self"
|
||||
operations:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue