feat(rbac): hide unauthorized menu sections and enforce route guards

This commit is contained in:
2026-03-06 10:50:28 +03:00
parent 6a68770a8e
commit 535095d31c
43 changed files with 4071 additions and 245 deletions

View File

@@ -0,0 +1,26 @@
{
"valid_profile_update": {
"user_id": "u-1",
"superset_username": "John_Doe",
"show_only_my_dashboards": true
},
"get_my_preference_ok": {
"auth_user": "u-1",
"expected_status": 200
},
"profile_filter_applied": {
"apply_profile_default": true,
"override_show_all": false
},
"enable_without_username": {
"superset_username": "",
"show_only_my_dashboards": true
},
"cross_user_mutation": {
"auth_user": "u-1",
"target_user": "u-2"
},
"lookup_env_not_found": {
"environment_id": "missing-env"
}
}