Added configurable denied permission behavior.
- See permissionBehavior.ini for new options - Adds new helper classes for managing permissions - Adds new controller plugin for permission checks - Adds new view helper for permission checks
Showing
- config/vufind/permissionBehavior.ini 72 additions, 0 deletionsconfig/vufind/permissionBehavior.ini
- module/VuFind/config/module.config.php 3 additions, 0 deletionsmodule/VuFind/config/module.config.php
- module/VuFind/src/VuFind/Controller/AbstractBase.php 13 additions, 12 deletionsmodule/VuFind/src/VuFind/Controller/AbstractBase.php
- module/VuFind/src/VuFind/Controller/Plugin/Factory.php 22 additions, 8 deletionsmodule/VuFind/src/VuFind/Controller/Plugin/Factory.php
- module/VuFind/src/VuFind/Controller/Plugin/Permission.php 120 additions, 0 deletionsmodule/VuFind/src/VuFind/Controller/Plugin/Permission.php
- module/VuFind/src/VuFind/Role/PermissionDeniedManager.php 203 additions, 0 deletionsmodule/VuFind/src/VuFind/Role/PermissionDeniedManager.php
- module/VuFind/src/VuFind/Role/PermissionManager.php 110 additions, 0 deletionsmodule/VuFind/src/VuFind/Role/PermissionManager.php
- module/VuFind/src/VuFind/Service/Factory.php 32 additions, 0 deletionsmodule/VuFind/src/VuFind/Service/Factory.php
- module/VuFind/src/VuFind/View/Helper/Root/Factory.php 16 additions, 0 deletionsmodule/VuFind/src/VuFind/View/Helper/Root/Factory.php
- module/VuFind/src/VuFind/View/Helper/Root/Permission.php 128 additions, 0 deletionsmodule/VuFind/src/VuFind/View/Helper/Root/Permission.php
- module/VuFind/tests/unit-tests/src/VuFindTest/Role/PermissionDeniedManagerTest.php 153 additions, 0 deletions...tests/src/VuFindTest/Role/PermissionDeniedManagerTest.php
- module/VuFind/tests/unit-tests/src/VuFindTest/Role/PermissionManagerTest.php 132 additions, 0 deletions.../unit-tests/src/VuFindTest/Role/PermissionManagerTest.php
- module/VuFind/tests/unit-tests/src/VuFindTest/View/Helper/Root/PermissionTest.php 208 additions, 0 deletions...-tests/src/VuFindTest/View/Helper/Root/PermissionTest.php
- themes/root/theme.config.php 1 addition, 0 deletionsthemes/root/theme.config.php
Please register or sign in to comment