Skip to content

Support template grants #5106

Closed as not planned
Closed as not planned

Description

@mtojek

Extracted from: #5035 (comment)

The idea is to introduce a mechanism to control template permissions for different user groups. Few candidates:

  1. Cancel build workspace jobs.
  2. Disable edit auto-stop.
  3. Use/edit templates.

CLI design:

coder templates grants <name> \
   --add-grant <group>:<action> \
   --add-grant DevOps:CancelWorkplaceBuild \
   --remove-grant Contractors:CancelWorkplaceBuild

Activity

  1. bpmct commented on Nov 16, 2022

    @bpmct
    Member

    #3630 could be handled by grants as well - but I suggest we do it as a single option for now. By leveraging grants, we could do special things such as

    The "DataScience" group can modify their workspace schedule to account for long jobs. However, the "development" team should not be able to edit their schedule and workspaces should shut off after 3 hours of activity.

  2. github-actions commented on Jan 20, 2023

    @github-actions
    Contributor

    This issue is becoming stale. In order to keep the tracker readable and actionable, I'm going close to this issue in 7 days if there isn't more activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleThis issue is like stale bread.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions