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

Function ScopedRoleAgentsAccess

coderd/rbac/roles.go:202–204  ·  view source on GitHub ↗
(organizationID uuid.UUID)

Source from the content-addressed store, hash-verified

200}
201
202func ScopedRoleAgentsAccess(organizationID uuid.UUID) RoleIdentifier {
203 return RoleIdentifier{Name: RoleAgentsAccess(), OrganizationID: organizationID}
204}
205
206func allPermsExcept(excepts ...Objecter) []Permission {
207 resources := AllResources()

Callers 15

TestPostChatsFunction · 0.92
TestPostChats_ClientTypeFunction · 0.92
TestListChatsFunction · 0.92
TestGetChatFunction · 0.92
TestRegenerateChatTitleFunction · 0.92
TestGetChatDiffStatusFunction · 0.92
TestGetChatDiffContentsFunction · 0.92
TestGetChatFileFunction · 0.92
TestChatDebugRunsFunction · 0.92
TestSubmitToolResultsFunction · 0.92

Calls 1

RoleAgentsAccessFunction · 0.85

Tested by 15

TestPostChatsFunction · 0.74
TestPostChats_ClientTypeFunction · 0.74
TestListChatsFunction · 0.74
TestGetChatFunction · 0.74
TestRegenerateChatTitleFunction · 0.74
TestGetChatDiffStatusFunction · 0.74
TestGetChatDiffContentsFunction · 0.74
TestGetChatFileFunction · 0.74
TestChatDebugRunsFunction · 0.74
TestSubmitToolResultsFunction · 0.74