Visibility

org.llm4s.rag.permissions.Visibility
See theVisibility companion trait
object Visibility

Attributes

Companion
trait
Source
PermissionTypes.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Visibility.type

Members list

Type members

Classlikes

case object Nobody extends Visibility

Readable by no one but an admin.

Readable by no one but an admin.

Attributes

Source
PermissionTypes.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Visibility
class Object
trait Matchable
class Any
Show all
Self type
Nobody.type
case object Public extends Visibility

No restriction at this level.

No restriction at this level.

Attributes

Source
PermissionTypes.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Visibility
class Object
trait Matchable
class Any
Show all
Self type
Public.type
final case class Restricted extends Visibility

Readable by a user holding any one of anyOf.

Readable by a user holding any one of anyOf.

Value parameters

anyOf

The principals; never empty (built with restricted)

Attributes

Source
PermissionTypes.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Visibility
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

Restricted to anyOf, or a ValidationError for an empty set: say Nobody or Public instead.

Restricted to anyOf, or a ValidationError for an empty set: say Nobody or Public instead.

Attributes

Source
PermissionTypes.scala

Restricted to first and rest: never empty, so it cannot fail.

Restricted to first and rest: never empty, so it cannot fail.

Attributes

Source
PermissionTypes.scala