Commit e7a31e9
fix(superset): change admin bypass RLS filter type from Base to Regular
The admin_engineer_analyst_course_scope_bypass filter was configured as
filter_type 'Base', which Superset OR-combines with all Regular filters
sharing the same group_key (course_scope). This caused instructor queries
to receive (instructor_subquery OR 1=1), making the row-level restriction
trivially true and exposing all course data to instructors.
Changing to filter_type 'Regular' ensures Superset applies only the
filter(s) matching the current user's role — instructors get the course
subquery, admins/engineers/analysts get 1=1 (unrestricted).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 4c90cda commit e7a31e9
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments