Skip to content

[Bug]: Review Tools page exposes CinderPolicies regardless of entity type #16261

@wagnerand-moz

Description

@wagnerand-moz

Is there an existing issue for this?

  • I have searched the existing issues

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions