CreatorRole.php
38 if (($oidObj = ObjectId::parse($resource)) !== null || ($oidObj = ObjectId::parse($extensionRemoved)) !== null) {
match(User $user, $resource)
Definition: CreatorRole.php:35
ObjectId is the unique identifier of an object.
Definition: ObjectId.php:28
static parse($oid)
Parse a serialized object id string into an ObjectId instance.
Definition: ObjectId.php:135
DynamicRole is the interface for user roles based on attributes.
Definition: DynamicRole.php:20
CreatorRole matches if the user created an entity.
Definition: CreatorRole.php:24
static getInstance($name, $dynamicConfiguration=[])
Definition: ObjectFactory.php:47
const CREATOR_ATTRIBUTE
Definition: CreatorRole.php:26
PersistenceAction values are used to define actions on PersistentObject instances.
Definition: PersistenceAction.php:19
ObjectFactory implements the service locator pattern by wrapping a Factory instance and providing sta...
Definition: ObjectFactory.php:24