PrincipalId

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

Attributes

Companion
class
Source
PermissionTypes.scala
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

Source
PermissionTypes.scala
def group(id: Int): PrincipalId

Create a group principal ID (ensures negative)

Create a group principal ID (ensures negative)

Attributes

Source
PermissionTypes.scala
def user(id: Int): PrincipalId

Create a user principal ID (ensures positive)

Create a user principal ID (ensures positive)

Attributes

Source
PermissionTypes.scala