Skip to content

Maintenance: Correct the permission name in the checklist templates API - #942

Merged
ralf401 merged 1 commit into
mainfrom
rsc/maintenance/checklist-permission-name-bp
Oct 26, 2026
Merged

ralf401 merged 1 commit into
mainfrom
rsc/maintenance/checklist-permission-name-bp

Conversation

@ralf401

@ralf401 ralf401 commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

The permission is admin.checklist (singular), as seeded in db/seeds/permissions.rb and enforced by
ChecklistTemplatesControllerPolicy; the plural never existed.

The policy also permits index to ticket.agent, so the list endpoint is not admin-only and now says so.

The permission is `admin.checklist` (singular), as seeded in
`db/seeds/permissions.rb` and enforced by
`ChecklistTemplatesControllerPolicy`; the plural never existed.

The policy also permits `index` to `ticket.agent`, so the list endpoint
is not admin-only and now says so.
@github-actions

Copy link
Copy Markdown

Artifacts

Produced during runtime

📦 html-604ea43

@ralf401
ralf401 merged commit df018ac into main Oct 26, 2026
1 check passed
@ralf401
ralf401 deleted the rsc/maintenance/checklist-permission-name-bp branch October 26, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant