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

idea: add strict_method_mapping option to prevent permission sprawl #2232

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mistercrunch
Copy link
Collaborator

@mistercrunch mistercrunch commented Apr 25, 2024

hey @dpgaspar - here's an idea as to how we may be able to help prevent permission sprawl in Superset, what do you think!?

Another idea would be to add a new class-level attribute allowed_permisions, by default None (not enforced), but if enforce with say allowed_permisions = ["read", "write"], then it would make sure that the mappings provided land on allowed perms.

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