8000 Custom Roles: Users with Limited Permissions Can Still Create Workspaces · Issue #16546 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content 8000
Custom Roles: Users with Limited Permissions Can Still Create Workspaces #16546
Closed
@rogmanster

Description

@rogmanster

Users with Limited Permissions Can Still Create Workspaces

Description

We are attempting to create a restricted role where users are unable to create or edit workspaces. This role should function similarly to the Platform Member role described in the Coder documentation.

However, when testing, users assigned this custom role were still able to create workspaces, which is unexpected behavior.

Steps to Reproduce

  1. Created a custom role.
  2. Assigned only the workspace:application_connect permission.
  3. Assigned this role to a user in the default organization.
  4. Logged in as the user and observed that they were still able to create a workspace.

Expected Behavior

The user should not have the ability to create a workspace, given that they only have the workspace:application_connect permission.

Actual Behavior

The user was still able to create a new workspace despite lacking explicit permissions for workspace creation.

Environment

  • Coder Version: 2.18.5
  • Deployment Method: Helm
  • Organization Settings: Default

Additional Context

We would like to clarify whether additional permissions are implicitly granting workspace creation or if this is a bug. If additional restrictions are needed to prevent workspace creation, please advise on the correct role configuration.

Possible Workarounds

N/A at this time.

Would appreciate any guidance on resolving this issue! 🚀

Metadata

Metadata

Assignees

Labels

multi-orgtemporary label for multiple organizations related work

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0