Details
-
Bug
-
Resolution: Unresolved
-
High
-
5.3-dev
-
None
Description
Add to anonymous role, a policy with:
- Module: ezjscore
- Function: call
- Function list:
- ezstarrating_rate
- ezstarrating_user_has_rated
Verify you get an 503 when opening the any page
on apache logs you'll see:
[Fri May 09 13:07:57 2014] [error] [client 10.0.1.1] PHP Fatal error: Uncaught exception 'eZ\\Publish\\Core\\Base\\Exceptions\\NotFoundException' with message 'Could not find 'Limitation' with identifier 'FunctionList'' in /var/www/html/bul/ezp53/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/RoleService.php:1023\nStack trace:\n#0 /var/www/html/bul/ezp53/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/RoleService.php(931): eZ\\Publish\\Core\\Repository\\RoleService->getLimitationType('FunctionList')\n #1 /var/www/html/bul/ezp53/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/RoleService.php(903): eZ\\Publish\\Core\\Repository\\RoleService->buildDomainPolicyObject(Object(eZ\\Publish\\SPI\\Persistence\\User\\Policy), Object(eZ\\Publish\\SPI\\Persistence\\User\\Role))\n #2 /var/www/html/bul/ezp53/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/RoleService.php(434): eZ\\Publish\\Core\\Repository\\RoleService->buildDomainRoleObject(Object(eZ\\Publish\\SPI\\Persistence\\User\\Role))\n #3 /var/www/html/bul/ezp53/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository in /var/www/html/bul/ezp53/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/RoleService.php on line 1023, referer: http://53.bul/ezdemo_site_admin/setup/extensions
Attachments
Issue Links
- duplicates
-
EZP-22775 [API] Permissions should handle missing limitations better
- Closed