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

feat: allow empty roles and return stale roles in GetRoles() #6580

Merged
merged 9 commits into from
Dec 10, 2024

Conversation

moogacs
Copy link
Contributor

@moogacs moogacs commented Dec 10, 2024

What's being changed:

previously, we had hard requirement to allow at least 1 permission with action, with this change

  • we relax our requirements to allow empty roles as place holder
  • return stale roles which they are assigned but has no permissions on GetRole() endpoints

Review checklist

  • Documentation has been updated, if necessary. Link to changed documentation:
  • Chaos pipeline run or not necessary. Link to pipeline:
  • All new code is covered by tests where it is reasonable.
  • Performance tests have been run or not necessary.

Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca

@moogacs moogacs marked this pull request as ready for review December 10, 2024 16:48
Copy link

sonarcloud bot commented Dec 10, 2024

@moogacs moogacs merged commit d5a71e2 into stable/v1.28 Dec 10, 2024
43 of 45 checks passed
@moogacs moogacs deleted the allow-empty-roles branch December 10, 2024 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants