PrincipalId

org.llm4s.rag.permissions.PrincipalId
See thePrincipalId companion class
object PrincipalId

Attributes

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

Members list

Value members

Concrete methods

def fromRaw(value: Int): Result[PrincipalId]

Create from raw value (positive=user, negative=group)

Create from raw value (positive=user, negative=group)

Attributes

def group(id: Int): PrincipalId

Create a group principal ID (ensures negative)

Create a group principal ID (ensures negative)

Attributes

def user(id: Int): PrincipalId

Create a user principal ID (ensures positive)

Create a user principal ID (ensures positive)

Attributes