|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for Sabre\DAVACL\MockPlugin:
Collaboration diagram for Sabre\DAVACL\MockPlugin:Public Member Functions | |
| getCurrentUserPrivilegeSet ($node) | |
| Returns a list of privileges the current user has on a particular node. More... | |
Public Member Functions inherited from Sabre\DAVACL\Plugin | |
| getFeatures () | |
| Returns a list of features added by this plugin. More... | |
| getMethods ($uri) | |
| Returns a list of available methods for a given url. More... | |
| getPluginName () | |
| Returns a plugin name. More... | |
| getSupportedReportSet ($uri) | |
| Returns a list of reports this plugin supports. More... | |
| checkPrivileges ($uri, $privileges, $recursion=self::R_PARENT, $throwExceptions=true) | |
| Checks if the current user has the specified privilege(s). More... | |
| getCurrentUserPrincipals () | |
| Returns a list of principals that's associated to the current user, either directly or through group membership. More... | |
| setDefaultAcl (array $acl) | |
| Sets the default ACL rules. More... | |
| getDefaultAcl () | |
| Returns the default ACL rules. More... | |
| getPrincipalMembership ($mainPrincipal) | |
| Returns all the principal groups the specified principal is a member of. More... | |
| principalMatchesPrincipal ($checkPrincipal, $currentPrincipal=null) | |
| Find out of a principal equals another principal. More... | |
| getSupportedPrivilegeSet ($node) | |
| Returns a tree of supported privileges for a resource. More... | |
| getFlatPrivilegeSet ($node) | |
| Returns the supported privilege set as a flat list. More... | |
| getAcl ($node) | |
| Returns the full ACL list. More... | |
| getCurrentUserPrivilegeSet ($node) | |
| Returns a list of privileges the current user has on a particular node. More... | |
| getPrincipalByUri ($uri) | |
| Returns a principal based on its uri. More... | |
| principalSearch (array $searchProperties, array $requestedProperties, $collectionUri=null, $test='allof') | |
| Principal property search. More... | |
| initialize (DAV\Server $server) | |
| Sets up the plugin. More... | |
| beforeMethod (RequestInterface $request, ResponseInterface $response) | |
| Triggered before any method is handled. More... | |
| beforeBind ($uri) | |
| Triggered before a new node is created. More... | |
| beforeUnbind ($uri) | |
| Triggered before a node is deleted. More... | |
| beforeUnlock ($uri, DAV\Locks\LockInfo $lock) | |
| Triggered before a node is unlocked. More... | |
| propFind (DAV\PropFind $propFind, DAV\INode $node) | |
| Triggered before properties are looked up in specific nodes. More... | |
| propPatch ($path, DAV\PropPatch $propPatch) | |
| This method intercepts PROPPATCH methods and make sure the group-member-set is updated correctly. More... | |
| report ($reportName, $report, $path) | |
| This method handles HTTP REPORT requests. More... | |
| httpAcl (RequestInterface $request, ResponseInterface $response) | |
| This method is responsible for handling the 'ACL' event. More... | |
| htmlActionsPanel (DAV\INode $node, &$output) | |
| This method is used to generate HTML output for the DAV\Browser\Plugin. More... | |
| getPluginInfo () | |
| Returns a bunch of meta-data about the plugin. More... | |
Public Member Functions inherited from Sabre\DAV\ServerPlugin | |
| initialize (Server $server) | |
| This initializes the plugin. More... | |
| getFeatures () | |
| This method should return a list of server-features. More... | |
| getHTTPMethods ($path) | |
| Use this method to tell the server this plugin defines additional HTTP methods. More... | |
| getPluginName () | |
| Returns a plugin name. More... | |
| getSupportedReportSet ($uri) | |
| Returns a list of reports this plugin supports. More... | |
| getPluginInfo () | |
| Returns a bunch of meta-data about the plugin. More... | |
Additional Inherited Members | |
Data Fields inherited from Sabre\DAVACL\Plugin | |
| const | R_PARENT = 1 |
| Recursion constants. More... | |
| const | R_RECURSIVE = 2 |
| Recursion constants. More... | |
| const | R_RECURSIVEPARENTS = 3 |
| Recursion constants. More... | |
| $principalCollectionSet | |
| $hideNodesFromListings = false | |
| $principalSearchPropertySet | |
| $adminPrincipals = [] | |
| $allowUnauthenticatedAccess = true | |
Protected Member Functions inherited from Sabre\DAVACL\Plugin | |
| principalMatchReport ($path, Xml\Request\PrincipalMatchReport $report) | |
| The principal-match report is defined in RFC3744, section 9.3. More... | |
| expandPropertyReport ($path, $report) | |
| The expand-property report is defined in RFC3253 section 3.8. More... | |
| expandProperties ($path, array $requestedProperties, $depth) | |
| This method expands all the properties and returns a list with property values. More... | |
| principalSearchPropertySetReport ($path, $report) | |
| principalSearchPropertySetReport More... | |
| principalPropertySearchReport ($path, Xml\Request\PrincipalPropertySearchReport $report) | |
| principalPropertySearchReport More... | |
| aclPrincipalPropSetReport ($path, Xml\Request\AclPrincipalPropSetReport $report) | |
| aclPrincipalPropSet REPORT More... | |
Protected Attributes inherited from Sabre\DAVACL\Plugin | |
| $server | |
| $defaultAcl | |
| $principalMembershipCache = [] | |
Definition at line 386 of file PrincipalPropertySearchTest.php.
| Sabre\DAVACL\MockPlugin::getCurrentUserPrivilegeSet | ( | $node | ) |
Returns a list of privileges the current user has on a particular node.
Either a uri or a DAV\INode may be passed.
null will be returned if the node doesn't support ACLs.
| string | DAV\INode | $node |
Reimplemented from Sabre\DAVACL\Plugin.
Definition at line 388 of file PrincipalPropertySearchTest.php.