mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
chore: make default workspace proxy editable (#7903)
* chore: add editing the default workspace proxy
This commit is contained in:
@ -186,6 +186,10 @@ func (w WorkspaceProxy) RBACObject() rbac.Object {
|
||||
WithID(w.ID)
|
||||
}
|
||||
|
||||
func (w WorkspaceProxy) IsPrimary() bool {
|
||||
return w.Name == "primary"
|
||||
}
|
||||
|
||||
func (f File) RBACObject() rbac.Object {
|
||||
return rbac.ResourceFile.
|
||||
WithID(f.ID).
|
||||
|
Reference in New Issue
Block a user