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

Avoid overwrite simpleui menu configure #489

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

huynhminhthien
Copy link
Contributor

I observe a problem that consistently has minimal privilege, even for superusers, when testing the access control feature.

if has_permission_in_config(config): config["menus"] = get_filtered_menus(config["menus"], context.request.user.get_all_permissions())

Please help me review this commit.
Thanks

@newpanjing newpanjing merged commit 90197a6 into newpanjing:master Mar 25, 2024
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.

None yet

2 participants