Skip to content

Commit

Permalink
edit and save perms (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
luorlandini authored Jul 14, 2021
1 parent 3a85714 commit 401028f
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2603,6 +2603,7 @@
{
"labelId": "gnviewer.save",
"type": "dropdown",
"perms": [{ "type": "resource", "value": "change_resourcebase" }],
"items": [
{
"type": "plugin",
Expand Down Expand Up @@ -3161,6 +3162,7 @@
{
"labelId": "gnviewer.save",
"type": "dropdown",
"perms": [{ "type": "resource", "value": "change_resourcebase" }],
"items": [
{
"type": "plugin",
Expand Down Expand Up @@ -3581,6 +3583,7 @@
"leftMenuItems": [
{
"labelId": "gnviewer.save",
"perms": [{ "type": "resource", "value": "change_resourcebase" }],
"type": "dropdown",
"items": [
{
Expand All @@ -3600,12 +3603,12 @@
{
"labelId": "gnviewer.edit",
"type": "dropdown",
"perms": [{ "type": "resource", "value": "change_resourcebase" }],
"items": [
{
"type": "link",
"href": "{(state('gnResourceData') || {}).detail_url + '/metadata'}",
"labelId": "gnviewer.editMetadata",
"perms": [{ "type": "resource", "value": "change_resourcebase" }]
"labelId": "gnviewer.editMetadata"
}
]
},
Expand Down Expand Up @@ -3739,6 +3742,7 @@
{
"labelId": "gnviewer.save",
"type": "dropdown",
"perms": [{ "type": "resource", "value": "change_resourcebase" }],
"items": [
{
"type": "plugin",
Expand All @@ -3762,8 +3766,7 @@
{
"type": "link",
"href": "{(state('gnResourceData') || {}).detail_url + '/metadata'}",
"labelId": "gnviewer.editMetadata",
"perms": [{ "type": "resource", "value": "change_resourcebase" }]
"labelId": "gnviewer.editMetadata"
}
]
},
Expand Down

0 comments on commit 401028f

Please sign in to comment.