Skip to content

Consolidate auth patterns in developer apps show view #187

Description

@24c02

The developer apps show view uses two different authorization mechanisms side by side:

  • admin? (controller helper) for display logic like showing the owner name and linking collaborator emails to backend
  • policy(@app).manage_collaborators? (Pundit policy) for the collaborators section

These are conceptually similar checks but use different patterns. Should pick one approach — ideally Pundit policies throughout — so authorization is consistent and testable in one place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions