MCPcopy Index your code
hub / github.com/coder/coder / Users

Method Users

coderd/rbac/acl/updatevalidator.go:18–18  ·  view source on GitHub ↗

Users should return a map from user UUIDs (as strings) to the role they are being assigned. Additionally, it should return a string that will be used as the field name for the ValidationErrors returned from Validate.

()

Source from the content-addressed store, hash-verified

16 // are being assigned. Additionally, it should return a string that will be
17 // used as the field name for the ValidationErrors returned from Validate.
18 Users() (map[string]Role, string)
19 // Groups should return a map from group UUIDs (as strings) to the role they
20 // are being assigned. Additionally, it should return a string that will be
21 // used as the field name for the ValidationErrors returned from Validate.

Callers 15

TestPostUsersFunction · 0.65
TestGetUsersFilterFunction · 0.65
TestGetUsersPaginationFunction · 0.65
TestDormantUserFunction · 0.65
TestSuspendedPaginationFunction · 0.65
assertPaginationFunction · 0.65
ValidateFunction · 0.65
userListMethod · 0.65
getScaletestUsersFunction · 0.65
TestScimFunction · 0.65
groupEditMethod · 0.65
TestRunFunction · 0.65

Calls

no outgoing calls

Tested by 12

TestPostUsersFunction · 0.52
TestGetUsersFilterFunction · 0.52
TestGetUsersPaginationFunction · 0.52
TestDormantUserFunction · 0.52
TestSuspendedPaginationFunction · 0.52
assertPaginationFunction · 0.52
TestScimFunction · 0.52
TestRunFunction · 0.52
TestRunWithSMTPFunction · 0.52
TestRunFunction · 0.52
TestRunFunction · 0.52
Test_RunnerFunction · 0.52