/** * @see AuthorizationPolicy::effect() */ function effect() { // Check if the object is required for the requested Op. (No operations means check for all.) if (is_array($this->_operations) && !in_array($this->_request->getRequestedOp(), $this->_operations)) { return AUTHORIZATION_PERMIT; } else { return $this->dataObjectEffect(); } }