Consolidate auth patterns in developer apps show view
Open
- Dominant language
- Ruby
- Stars
- 80
- Forks
- 66
- Avg merge
- 2d 59m
- Merged PRs (30d)
- 6
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.