UserAuthorization

org.llm4s.rag.permissions.UserAuthorization
See theUserAuthorization companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def forUser(userId: PrincipalId, groups: Set[PrincipalId]): UserAuthorization

Create authorization for a user with optional group memberships

Create authorization for a user with optional group memberships

Attributes

def fromRawIds(ids: Seq[Int]): Result[UserAuthorization]

Create authorization from raw integer IDs

Create authorization from raw integer IDs

Attributes

Concrete fields

Admin user that bypasses all permission checks

Admin user that bypasses all permission checks

Attributes

Anonymous user with no permissions

Anonymous user with no permissions

Attributes