Пример #1
0
 /**
  * Checks whether this request has the specified rights
  * 
  * @param EntitySetRights $requiredRights The rights to check
  * 
  * @throws ODataException exception if access to this resource set is forbidden
  */
 public function checkResourceSetRights($requiredRights)
 {
     if (($this->_resourceSetRights & $requiredRights) == 0) {
         throw ODataException::createForbiddenError();
     }
 }