Skip to content

When creating a template, check authorization to determine the organizations where a user can create a template #14004

Closed
@jaaydenh

Description

@jaaydenh

The create template "organization dropdown" currently lists all organizations that can be read. This list would include organizations even if the actor in question is unable to create a template in said org.

The user would fill out the template form, only to receive a 401 Forbidden. The dropdown should omit organizations that are forbidden. Forbidden in this case means the user is not allowed to create a template in the organization selected.

Metadata

Metadata

Assignees

Labels

siteArea: frontend dashboard

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions