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

CLI to prune Hasura permissions metadata #4

Open
kevinmichaelchen opened this issue Sep 5, 2023 · 0 comments
Open

CLI to prune Hasura permissions metadata #4

kevinmichaelchen opened this issue Sep 5, 2023 · 0 comments

Comments

@kevinmichaelchen
Copy link
Owner

CLI should have a subcommand that removes any permission block found in Hasura metadata YAML.

This is to support workflows where permissions are managed externally via permissura and users don't want to maintain two sources of truth.

The recommendation for that workflow is to have a CI migrator call permissura rather than relying on hasura metadata apply. It needs to be clearly documented that hasura metadata apply is something to be avoided in that workflow, since it would have the effect of removing permissions entirely.

@kevinmichaelchen kevinmichaelchen changed the title CLI to remove any CLI to prune Hasura permissions metadata Sep 5, 2023
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

No branches or pull requests

1 participant