Skip to content

Member roles have access to template version promote, leads to 404 #15850

Closed
@stirby

Description

@stirby

In the dashboard under Templates -> <Template> -> Versions, users with the member role may view, but not click, the "Promote" button to set an active version for a template. They can click anywhere in the version listing; when they do, it returns a 404.

Image

In general, there's no reason for developers to see the versions page as they are not managing template status. Thus, we should hide the "versions" section entirely and redirect non-template-admins when they navigate here directly.

Metadata

Metadata

Assignees

Labels

s3Bugs that confuse, annoy, or are purely cosmeticsiteArea: frontend dashboard

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions