Skip to content

Align Template View Authorization with Platform API Logic #391

@payamnj

Description

@payamnj

We need to align the authorization logic in our template views with the existing Platform API views by incorporating the active org_id into permission checks. Currently, template views only verify if a user holds a required role across any organization, which leads to UI inconsistencies where features or buttons remain visible even if the user lacks authority in the specific active organization. While the API layer correctly blocks unauthorized actions, the frontend should be updated to scope role validation to the active org_id, ensuring that UI elements are only rendered when the user has the appropriate permissions for the current context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions