Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #18626: Popup error on group page with a readonly user in 6.2 #3399

Conversation

ElaadF
Copy link
Member

@ElaadF ElaadF commented Nov 20, 2020

@@ -144,7 +144,7 @@ final case object OnlyAdmin extends AuthorizationApiMapping {
case Group.Edit => GroupApi.UpdateGroup.x :: GroupApi.UpdateGroupCategory.x :: Nil

case Node.Read => NodeApi.ListAcceptedNodes.x :: NodeApi.ListPendingNodes.x :: NodeApi.NodeDetails.x ::
NodeApi.NodeInheritedProperties.x ::
NodeApi.NodeInheritedProperties.x :: NodeApi.NodeDetailsTable.x ::
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put it also in "Group.Read" so it's ok if you can read Group, but not Node!

@ElaadF ElaadF force-pushed the bug_18626/popup_error_on_group_page_with_a_readonly_user_in_6_2 branch from 50f7d40 to 8bdcc84 Compare November 20, 2020 12:40
@ElaadF
Copy link
Member Author

ElaadF commented Nov 20, 2020

Commit modified

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 8bdcc84 into Normation:branches/rudder/6.2 Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants