Is there an existing issue for this?
What happened?
The old ReviewActionReason had a dedicated field to specific which entity type a reason applies to. CinderPolicy doesn't seem to have that, so all policies are exposed regardless of the entity type. However, the majority of policies only apply to extensions, and a small set of policies apply to themes only.
How can we make sure we only show the policies on the review page that are relevant for that particular entity type?
What did you expect to happen?
The extension review page only shows policies relevant to extensions.
The theme review page only shows policies relevant to themes.
(And, since lots of our metrics, investigations, decision making and statistics is based on redash dashboards and queries, it would be helpful to have that entity type classifier for a policy in the database too.)
┆Issue is synchronized with this Jira Task
Is there an existing issue for this?
What happened?
The old
ReviewActionReasonhad a dedicated field to specific which entity type a reason applies to.CinderPolicydoesn't seem to have that, so all policies are exposed regardless of the entity type. However, the majority of policies only apply to extensions, and a small set of policies apply to themes only.How can we make sure we only show the policies on the review page that are relevant for that particular entity type?
What did you expect to happen?
The extension review page only shows policies relevant to extensions.
The theme review page only shows policies relevant to themes.
(And, since lots of our metrics, investigations, decision making and statistics is based on redash dashboards and queries, it would be helpful to have that entity type classifier for a policy in the database too.)
┆Issue is synchronized with this Jira Task