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

User access roles are not collected recursively #1352

Open
sveneberth opened this issue Dec 13, 2024 · 0 comments
Open

User access roles are not collected recursively #1352

sveneberth opened this issue Dec 13, 2024 · 0 comments
Labels
bug(fix) Something isn't working or address a specific issue or vulnerability Priority: High After critical issues are fixed, these should be dealt with before any further issues.

Comments

@sveneberth
Copy link
Member

# Go through all modules and evaluate available role-settings
for name in dir(conf.main_app.vi):

This collects roles only from modules on first layer, but not on a second.

This cause problems in viur-shop and a customer project with nested modules.

Refers to viur-framework/viur-shop#58


We need to find a better solution for the role names of nested modules as well. We need to agree this with vi-admin (/cc @akelch)

@sveneberth sveneberth added bug(fix) Something isn't working or address a specific issue or vulnerability Priority: High After critical issues are fixed, these should be dealt with before any further issues. labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug(fix) Something isn't working or address a specific issue or vulnerability Priority: High After critical issues are fixed, these should be dealt with before any further issues.
Projects
None yet
Development

No branches or pull requests

1 participant