Skip to content

Commit d15cb8f

Browse files
committed
dashboard/rest-api: add custom graph & graph tuning permission
Change-Id: I403e63ea3beda30d86162014faf71aec6586adf2 JIRA-Ref: CMK-29043 CMK-29409
1 parent 038a1ad commit d15cb8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmk/gui/dashboard/api/_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@
128128
permissions.AllPerm(
129129
[
130130
permissions.OkayToIgnorePerm("general.edit_custom_graph"), # yes, even for reads
131+
permissions.OkayToIgnorePerm("general.see_user_custom_graph"),
132+
permissions.OkayToIgnorePerm("general.see_user_graph_tuning"),
131133
]
132134
)
133135
)

0 commit comments

Comments
 (0)