Versions in this module Expand all Collapse all v1 v1.0.0 Mar 21, 2026 Changes in this version + type AccessControlPluginConfig struct + Enabled bool + func (config *AccessControlPluginConfig) ApplyDefaults() + type AddRolePermissionRequest struct + PermissionID string + type AddRolePermissionResponse struct + Message string + type AssignUserRoleRequest struct + ExpiresAt *time.Time + RoleID string + type AssignUserRoleResponse struct + Message string + type CreatePermissionRequest struct + Description *string + IsSystem bool + Key string + type CreatePermissionResponse struct + Permission *Permission + type CreateRoleRequest struct + Description *string + IsSystem bool + Name string + type CreateRoleResponse struct + Role *Role + type DeletePermissionResponse struct + Message string + type DeleteRoleResponse struct + Message string + type GetUserEffectivePermissionsResponse struct + Permissions []UserPermissionInfo + type Permission struct + CreatedAt time.Time + Description *string + ID string + IsSystem bool + Key string + UpdatedAt time.Time + type PermissionGrantSource struct + GrantedAt *time.Time + GrantedByUserID *string + RoleID string + RoleName string + type RemoveRolePermissionResponse struct + Message string + type RemoveUserRoleResponse struct + Message string + type ReplaceRolePermissionResponse struct + Message string + type ReplaceRolePermissionsRequest struct + PermissionIDs []string + type ReplaceUserRolesRequest struct + RoleIDs []string + type ReplaceUserRolesResponse struct + Message string + type Role struct + CreatedAt time.Time + Description *string + ID string + IsSystem bool + Name string + UpdatedAt time.Time + type RoleDetails struct + Permissions []UserPermissionInfo + Role Role + type RolePermission struct + GrantedAt time.Time + GrantedByUserID *string + PermissionID string + RoleID string + type UpdatePermissionRequest struct + Description *string + type UpdatePermissionResponse struct + Permission *Permission + type UpdateRoleRequest struct + Description *string + Name *string + type UpdateRoleResponse struct + Role *Role + type UserAuthorizationProfile struct + Permissions []UserPermissionInfo + Roles []UserRoleInfo + User models.User + type UserPermissionInfo struct + GrantedAt *time.Time + GrantedByUserID *string + PermissionDescription *string + PermissionID string + PermissionKey string + Sources []PermissionGrantSource + type UserRole struct + AssignedAt time.Time + AssignedByUserID *string + ExpiresAt *time.Time + RoleID string + UserID string + type UserRoleInfo struct + AssignedAt *time.Time + AssignedByUserID *string + ExpiresAt *time.Time + RoleDescription *string + RoleID string + RoleName string + type UserWithPermissions struct + Permissions []UserPermissionInfo + User models.User + type UserWithRoles struct + Roles []UserRoleInfo + User models.User