-
Notifications
You must be signed in to change notification settings - Fork 957
Closed
Closed
Copy link
Description
getWorkspaceOwnerData
for dynamic parameters is supposed to mirror how provisionerd injects user state.
See:
allUserRoles, err := s.Database.GetAuthorizationUserRoles(ctx, owner.ID) coder/coderd/provisionerdserver/provisionerdserver.go
Lines 697 to 701 in 5816455
WorkspaceName: workspace.Name, WorkspaceOwner: owner.Username, WorkspaceOwnerEmail: owner.Email, WorkspaceOwnerName: owner.Name, WorkspaceOwnerGroups: ownerGroupNames,
This should ideally be the exact same method/function
Metadata
Metadata
Assignees
Labels
No labels