Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fixes #30394 - allow non-admins deal with untaxed filters
Prior this non-admin user would have to have assigned Role without taxonomies (global role) to be able to manipulate filters. This allows manipulating Filters to any User with Filter perms. Filters with taxonomies mean they apply to taxonomy. But given they have taxonomies relations, they are expected to be taxable in our permission model. All taxable resources have to have the same taxonomies as Filter have. Some filters doesn't have taxonomies as their underlying resource doesn't have taxonomies. That mean they were unable to be touched by non-admins prior this patch. This also drops current taxonomy relations in migration and force flip the `Override` flag to false for Filter resource filters.
- Loading branch information