Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RBAC ¶
type RBAC struct {
// contains filtered or unexported fields
}
RBAC contains all the scoping rules for services across the platform.
func (*RBAC) GetACL ¶ added in v0.1.23
func (r *RBAC) GetACL(ctx context.Context, permissions *rbac.Permissions, organization string) (*rbac.ACL, error)
GetACL returns a granualr set of permissions for a user based on their scope. This is used for API leval access control and UX.
func (*RBAC) UserExists ¶
UserExists is an optimized version of the permissions builder that is used to authorize authentication requests. Failure here means the user need to signup and register themselves with an organization uing a back-channel.
func (*RBAC) UserPermissions ¶ added in v0.1.14
UserPermissions builds up a hierarchy of permissions for a user, this is used both internally and given out to resource servers via token introspection.
Click to show internal directories.
Click to hide internal directories.