feat(rbac): hide unauthorized menu sections and enforce route guards
This commit is contained in:
26
backend/tests/fixtures/profile/fixtures_profile_filter.json
vendored
Normal file
26
backend/tests/fixtures/profile/fixtures_profile_filter.json
vendored
Normal 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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user