mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
feat: implement acl for workspaces (#19094)
This commit is contained in:
@@ -3851,6 +3851,8 @@ type Workspace struct {
|
||||
AutomaticUpdates AutomaticUpdates `db:"automatic_updates" json:"automatic_updates"`
|
||||
Favorite bool `db:"favorite" json:"favorite"`
|
||||
NextStartAt sql.NullTime `db:"next_start_at" json:"next_start_at"`
|
||||
GroupACL WorkspaceACL `db:"group_acl" json:"group_acl"`
|
||||
UserACL WorkspaceACL `db:"user_acl" json:"user_acl"`
|
||||
OwnerAvatarUrl string `db:"owner_avatar_url" json:"owner_avatar_url"`
|
||||
OwnerUsername string `db:"owner_username" json:"owner_username"`
|
||||
OwnerName string `db:"owner_name" json:"owner_name"`
|
||||
@@ -4272,4 +4274,6 @@ type WorkspaceTable struct {
|
||||
// Favorite is true if the workspace owner has favorited the workspace.
|
||||
Favorite bool `db:"favorite" json:"favorite"`
|
||||
NextStartAt sql.NullTime `db:"next_start_at" json:"next_start_at"`
|
||||
GroupACL WorkspaceACL `db:"group_acl" json:"group_acl"`
|
||||
UserACL WorkspaceACL `db:"user_acl" json:"user_acl"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user