Skip to content

Bug: User with role Member cannot see templates list and cannot create a workspace using template name #1709

Closed
@nadzeyav

Description

@nadzeyav

OS Information

  • OS: Windows 10
  • Browser (if applicable): Chrome
  • Architecture:
  • coder --version:
    Coder v0.0.0-devel+b0d5203 Tue May 24 13:55:30 UTC 2022
    b0d5203

Steps to Reproduce

Steps for server dev, but looks the same for server

  1. Login as admin and create a template
  2. Login as a Member User and try to create a workspace Click create workspace -> empty dropdowns list
  3. As a user with only Member role try to create a template with a cli using known template name -> template by name: status code 403: forbidden on workspace create

Expected

Templates list is avaialble to be used for workspace s creation

Actual

Empty list of workspaces and get template by name: status code 403: forbidden on workspace create

Logs

Screenshot

Notes

Metadata

Metadata

Assignees

Labels

apiArea: HTTP API

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions