Skip to content

Commit

Permalink
[Backport] Disable plugin SaveAs for non-ADMIN role users in Contexts (
Browse files Browse the repository at this point in the history
…#10032)

* #9894 Add possibility to configure srs (#9897)

* Disable plugin SaveAs for non-ADMIN role users in Contexts (#9952)

(cherry picked from commit 9802d5c)

---------

Co-authored-by: Lorenzo Natali <[email protected]>
  • Loading branch information
Igi-ID and offtherailz authored Mar 6, 2024
1 parent 325132a commit bdc958b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
11 changes: 8 additions & 3 deletions project/standard/templates/configs/pluginsConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -491,16 +491,21 @@
"denyUserSelection": true,
"title": "plugins.Save.title",
"description": "plugins.Save.description",
"dependencies": [
"SidebarMenu",
"children": [
"SaveAs"
],
"autoEnableChildren": [
"SaveAs"
],
"dependencies": [
"SidebarMenu"
]
},
{
"name": "SaveAs",
"glyph": "floppy-open",
"title": "plugins.SaveAs.title",
"hidden": true,
"hidden": false,
"description": "plugins.SaveAs.description",
"dependencies": [
"SidebarMenu"
Expand Down
11 changes: 8 additions & 3 deletions web/client/configs/pluginsConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -490,16 +490,21 @@
"denyUserSelection": true,
"title": "plugins.Save.title",
"description": "plugins.Save.description",
"dependencies": [
"SidebarMenu",
"children": [
"SaveAs"
],
"autoEnableChildren": [
"SaveAs"
],
"dependencies": [
"SidebarMenu"
]
},
{
"name": "SaveAs",
"glyph": "floppy-open",
"title": "plugins.SaveAs.title",
"hidden": true,
"hidden": false,
"description": "plugins.SaveAs.description",
"dependencies": [
"SidebarMenu"
Expand Down

0 comments on commit bdc958b

Please sign in to comment.