Superset 6.1. Log in to Superset using the admin role. In the settings, there are no security-related tags, and in the user section, there are no profile modifications. How should this be handled? #43554
Replies: 2 comments
|
No feature flag hides the Security menu in 6.x. The defaults are all permissive at tag 6.1.0: The menu is missing because of permission rows, and there are two ways to get there. First, # superset/cli/main.py:84
appbuilder.add_permissions(update_perms=True)
security_manager.sync_role_definitions()UPDATING.md for 6.0.0 says this outright for the migrated Roles view, since Users, Roles and Groups became React pages in 6.0.0. Fix: superset db upgrade
superset init # webserver stoppedSecond, and this one survives a correct elif item.name not in allowed_menus:
continueand Check which one you have: SELECT vm.name, p.name, r.name
FROM ab_permission_view_role pvr
JOIN ab_permission_view pv ON pv.id = pvr.permission_view_id
JOIN ab_view_menu vm ON vm.id = pv.view_menu_id
JOIN ab_permission p ON p.id = pv.permission_id
JOIN ab_role r ON r.id = pvr.role_id
WHERE p.name = 'menu_access'
AND LOWER(vm.name) IN ('security','list users','list roles','list groups');No rows for Admin means case one. Rows with a lowercase UPDATE ab_view_menu SET name = 'Security' WHERE name = 'security';then On the profile: Settings, User, Info is rendered for every logged-in user, but Everything above was read at tag 6.1.0 with Flask-AppBuilder 5.0.2, the version it pins. I did not stand up a 6.1 instance, so the SQL is a diagnosis to run, not a reproduction. |
|
The issue has been resolved, thank you! |
Uh oh!
There was an error while loading. Please reload this page.
Superset 6.1. Log in to Superset using the admin role. In the settings, there are no security-related tags, and in the user section, there are no profile modifications. How should this be handled?
All reactions