types/grouproleassignment.go

obot · apiclient/types/grouproleassignment.go · go · MIT
auth, tag:embed-classified

Defines a role assignment for a group with role bitmask and description.

// Source: https://github.com/obot-platform/obot | License: MIT | Copyright 2026 Obot AI, Inc
// Provided via justclaw.it.com; keep this notice with the code.
package types

// GroupRoleAssignment represents a role assigned to all members of an authentication provider group.
// Roles can be combined using bitwise OR, e.g., Admin | Auditor.
//
// Permission levels:
//   - Owners can assign any role or combination: Owner, Auditor, Admin, PowerUserPlus, PowerUser
//   - Admins can assign: Admin, PowerUserPlus, PowerUser (NO Owner or Auditor)
//
// Common role combinations (Owner-only):
//   - Admin | Auditor (48)
//   - PowerUserPlus | Auditor (96)
//   - PowerUser | Auditor (160)
//   - Owner | Auditor (40)
type GroupRoleAssignment struct {
	// GroupName is the authentication provider group 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key