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(rbac): handle preexisting policies and grouping policies #1

Conversation

PatAKnight
Copy link

@PatAKnight PatAKnight commented Jan 9, 2024

Here is the PR for handling the preexisting policies and grouping policies. I have done some manual testing of it, just double check behind me in case I missed anything.

All this really does is adds the preexisting policies and group policies to their respective tables with the 'legacy' source. I didn't implement any additional checks for the 'REST API'.

About what we talked about earlier, I think the following should be fine:
'legacy': should be updated by anything,
'config': should be only updated through the config (maybe the REST API?)
'csv': should only be updated through the csv file
'rest': should only be updated through the REST API
'default': saving for a special case, possibly to do with super admins

Let me know what you think.

@PatAKnight PatAKnight changed the title Olek branch fix(rbac): handle preexisting policies and grouping policies Jan 9, 2024
@PatAKnight
Copy link
Author

closing in favor of #2

@PatAKnight PatAKnight closed this Jan 12, 2024
@PatAKnight PatAKnight deleted the olek-branch branch May 10, 2024 14:45
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.

1 participant