Filter

lofi_acl.access.Filter
See theFilter companion object
trait Filter[T]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class TerminalFilter[T]
object dotsFilter

Members list

Value members

Abstract methods

def filter(delta: T, permission: PermissionTree): T
def validatePermissionTree(permissionTree: PermissionTree): Unit

Checks whether the permission tree is valid.

Checks whether the permission tree is valid.

  • Not DENY & ALLOW on the same level

  • All fields exist

Value parameters

permissionTree

The tree to check

Attributes

Returns

Success(the validated permission tree) or a Failure(with the cause).