class ModulePrivilege extends AbstractPrivilege implements MethodPrivilegeInterface (View source)

A privilege covering general access to Neos Backend Modules

It matches if the matcher is equal to the (sub)module path ("/") in question

Methods

void
initialize()

No description

string
getCacheEntryIdentifier()

Returns a string which distinctly identifies this object and thus can be used as an identifier for cache entries related to this object.

bool
matchesSubject(PrivilegeSubjectInterface $subject)

Returns true, if this privilege covers the given subject

bool
matchesMethod(string $className, string $methodName)

No description

PointcutFilterInterface
getPointcutFilterComposite()

No description

Details

void initialize()

No description

Return Value

void

Exceptions

InvalidPolicyException

string getCacheEntryIdentifier()

Returns a string which distinctly identifies this object and thus can be used as an identifier for cache entries related to this object.

Return Value

string

bool matchesSubject(PrivilegeSubjectInterface $subject)

Returns true, if this privilege covers the given subject

Parameters

PrivilegeSubjectInterface $subject

Return Value

bool

Exceptions

InvalidPrivilegeTypeException

bool matchesMethod(string $className, string $methodName)

No description

Parameters

string $className
string $methodName

Return Value

bool

PointcutFilterInterface getPointcutFilterComposite()

No description

Return Value

PointcutFilterInterface