MCPcopy Create free account
hub / github.com/auth0/auth0-cli / Permissions

Method Permissions

internal/auth0/role.go:35–35  ·  view source on GitHub ↗

Permissions retrieves all permissions granted by a role. See: https://auth0.com/docs/api/management/v2#!/Roles/get_role_permission

(ctx context.Context, id string, opts ...management.RequestOption)

Source from the content-addressed store, hash-verified

33 //
34 // See: https://auth0.com/docs/api/management/v2#!/Roles/get_role_permission
35 Permissions(ctx context.Context, id string, opts ...management.RequestOption) (p *management.PermissionList, err error)
36
37 // RemovePermissions removes permissions associated to a role.
38 //

Callers 3

FetchDataMethod · 0.65
listRolePermissionsCmdFunction · 0.65

Implementers 2

MockRoleAPIinternal/auth0/mock/roles_mock.go
MockRoleAPIMockRecorderinternal/auth0/mock/roles_mock.go

Calls

no outgoing calls

Tested by 1