class ReadNodePrivilege extends EntityPrivilege (View source)

A node privilege to restricting reading of nodes.

Nodes not granted for reading will be filtered via SQL.

Currently only doctrine persistence is supported as we use the doctrine filter api, to rewrite SQL queries.

Methods

bool
matchesEntityType(string $entityType)

No description

bool
matchesSubject(PrivilegeSubjectInterface $subject)

No description

Details

bool matchesEntityType(string $entityType)

No description

Parameters

string $entityType

Return Value

bool

protected ConditionGenerator getConditionGenerator()

No description

Return Value

ConditionGenerator

bool matchesSubject(PrivilegeSubjectInterface $subject)

No description

Parameters

PrivilegeSubjectInterface $subject

Return Value

bool

Exceptions

InvalidPrivilegeTypeException