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

Fix awx-manager-role bad match between some apiGroups and resources #1262

Merged
merged 1 commit into from Mar 8, 2023

Conversation

aurel333
Copy link
Contributor

@aurel333 aurel333 commented Mar 2, 2023

SUMMARY

There are some bad match between ApiGroups and Resources. This caused rights to be given to non existing resources (like APIGroup: "apps", Resource: ingress) and makes the role not creatable for an user without the escalate permission for Roles.
With this PR, the resources are matched with only one apiGroup so the mismatched are fixed and mismatchs can be more easily avoided in the future.

Fixes #1261

ISSUE TYPE
  • Bug, Docs Fix or other nominal change

Copy link
Member

@rooftopcellist rooftopcellist left a comment

Choose a reason for hiding this comment

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

Thanks for investigating this and putting up a fix @aurel333 !

@TheRealHaoLiu
Copy link
Member

@aurel333 congratulations to your first contribution in to the awx-operator project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Role awx-manager-role mismatching apiGroups and resources
3 participants