BasicDAC

tsec.authorization.BasicDAC
abstract class BasicDAC[F[_], G, U, Auth](implicit eq: Eq[G], F: MonadError[F, Throwable]) extends Authorization[F, U, Auth]

A class modeling basic Discretionary access control. In this case, the user has to provide an AuthGroup for which groups are allowed to access the data,

Attributes

Source
BasicDAC.scala
Graph
Supertypes
trait Authorization[F, U, Auth]
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def fetchAccess(u: SecuredRequest[F, U, Auth]): F[G]

Attributes

Source
BasicDAC.scala
def fetchGroup: F[Type[G]]

Attributes

Source
BasicDAC.scala
def fetchOwner: F[G]

Attributes

Source
BasicDAC.scala

Concrete methods

def isAuthorized(toAuth: SecuredRequest[F, U, Auth]): OptionT[F, SecuredRequest[F, U, Auth]]

Attributes

Source
BasicDAC.scala