├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE ├── Module.php ├── README.md ├── UPGRADE.md ├── composer.json ├── config ├── module.config.php └── zfc_rbac.global.php.dist ├── data ├── FlatRole.php.dist ├── HierarchicalRole.php.dist ├── Permission.php.dist └── README.md ├── docs ├── 01. Introduction.md ├── 02. Quick Start.md ├── 03. Role providers.md ├── 04. Guards.md ├── 05. Strategies.md ├── 06. Using the Authorization Service.md ├── 07. Cookbook.md ├── README.md └── images │ ├── workflow-with-guards.png │ └── workflow-without-guards.png ├── phpunit.xml.dist ├── src └── ZfcRbac │ ├── Assertion │ ├── AssertionInterface.php │ └── AssertionPluginManager.php │ ├── Collector │ └── RbacCollector.php │ ├── Exception │ ├── ExceptionInterface.php │ ├── InvalidArgumentException.php │ ├── RoleNotFoundException.php │ ├── RuntimeException.php │ ├── UnauthorizedException.php │ └── UnauthorizedExceptionInterface.php │ ├── Factory │ ├── AssertionPluginManagerFactory.php │ ├── AuthenticationIdentityProviderFactory.php │ ├── AuthorizationServiceDelegatorFactory.php │ ├── AuthorizationServiceFactory.php │ ├── ControllerGuardFactory.php │ ├── ControllerPermissionsGuardFactory.php │ ├── GuardPluginManagerFactory.php │ ├── GuardsFactory.php │ ├── HasRoleViewHelperFactory.php │ ├── IsGrantedPluginFactory.php │ ├── IsGrantedViewHelperFactory.php │ ├── ModuleOptionsFactory.php │ ├── ObjectRepositoryRoleProviderFactory.php │ ├── RbacFactory.php │ ├── RedirectStrategyFactory.php │ ├── RoleProviderPluginManagerFactory.php │ ├── RoleServiceFactory.php │ ├── RouteGuardFactory.php │ ├── RoutePermissionsGuardFactory.php │ └── UnauthorizedStrategyFactory.php │ ├── Guard │ ├── AbstractGuard.php │ ├── ControllerGuard.php │ ├── ControllerPermissionsGuard.php │ ├── GuardInterface.php │ ├── GuardPluginManager.php │ ├── ProtectionPolicyTrait.php │ ├── RouteGuard.php │ └── RoutePermissionsGuard.php │ ├── Identity │ ├── AuthenticationIdentityProvider.php │ ├── IdentityInterface.php │ └── IdentityProviderInterface.php │ ├── Initializer │ └── AuthorizationServiceInitializer.php │ ├── Module.php │ ├── Mvc │ └── Controller │ │ └── Plugin │ │ └── IsGranted.php │ ├── Options │ ├── ModuleOptions.php │ ├── RedirectStrategyOptions.php │ └── UnauthorizedStrategyOptions.php │ ├── Permission │ └── PermissionInterface.php │ ├── Role │ ├── InMemoryRoleProvider.php │ ├── ObjectRepositoryRoleProvider.php │ ├── RoleProviderInterface.php │ └── RoleProviderPluginManager.php │ ├── Service │ ├── AuthorizationService.php │ ├── AuthorizationServiceAwareInterface.php │ ├── AuthorizationServiceAwareTrait.php │ ├── AuthorizationServiceInterface.php │ └── RoleService.php │ └── View │ ├── Helper │ ├── HasRole.php │ └── IsGranted.php │ └── Strategy │ ├── AbstractStrategy.php │ ├── RedirectStrategy.php │ └── UnauthorizedStrategy.php ├── tests ├── Bootstrap.php ├── TestConfigurationV2.php.dist ├── TestConfigurationV3.php.dist ├── ZfcRbacTest │ ├── Asset │ │ ├── DummyGuard.php │ │ ├── FlatRole.php │ │ ├── HierarchicalRole.php │ │ ├── MockRoleWithPermissionMethod.php │ │ ├── MockRoleWithPermissionProperty.php │ │ ├── Permission.php │ │ └── SimpleAssertion.php │ ├── Collector │ │ └── RbacCollectorTest.php │ ├── Factory │ │ ├── AssertionPluginManagerFactoryTest.php │ │ ├── AuthenticationIdentityProviderFactoryTest.php │ │ ├── AuthorizationServiceDelegatorTest.php │ │ ├── AuthorizationServiceFactoryTest.php │ │ ├── ControllerGuardFactoryTest.php │ │ ├── ControllerPermissionsGuardFactoryTest.php │ │ ├── GuardPluginManagerFactoryTest.php │ │ ├── GuardsFactoryTest.php │ │ ├── HasRoleViewHelperFactoryTest.php │ │ ├── IsGrantedPluginFactoryTest.php │ │ ├── IsGrantedViewHelperFactoryTest.php │ │ ├── ModuleOptionsFactoryTest.php │ │ ├── ObjectRepositoryRoleProviderFactoryTest.php │ │ ├── RbacFactoryTest.php │ │ ├── RedirectStrategyFactoryTest.php │ │ ├── RoleProviderPluginManagerFactoryTest.php │ │ ├── RoleServiceFactoryTest.php │ │ ├── RouteGuardFactoryTest.php │ │ ├── RoutePermissionsGuardFactoryTest.php │ │ └── UnauthorizedStrategyFactoryTest.php │ ├── Guard │ │ ├── AbstractGuardTest.php │ │ ├── ControllerGuardTest.php │ │ ├── ControllerPermissionsGuardTest.php │ │ ├── GuardPluginManagerTest.php │ │ ├── ProtectionPolicyTraitTest.php │ │ ├── RouteGuardTest.php │ │ └── RoutePermissionsGuardTest.php │ ├── Identity │ │ └── AuthenticationIdentityProviderTest.php │ ├── Initializer │ │ ├── AuthorizationAwareFake.php │ │ └── AuthorizationServiceInitializerTest.php │ ├── ModuleTest.php │ ├── Mvc │ │ └── Controller │ │ │ └── Plugin │ │ │ └── IsGrantedTest.php │ ├── Options │ │ ├── ModuleOptionsTest.php │ │ ├── RedirectStrategyOptionsTest.php │ │ └── UnauthorizedStrategyOptionsTest.php │ ├── Role │ │ ├── InMemoryRoleProviderTest.php │ │ ├── ObjectRepositoryRoleProviderTest.php │ │ └── RoleProviderPluginManagerTest.php │ ├── Service │ │ ├── AuthorizationServiceAwareTraitTest.php │ │ ├── AuthorizationServiceTest.php │ │ └── RoleServiceTest.php │ ├── Util │ │ └── ServiceManagerFactory.php │ └── View │ │ ├── Helper │ │ ├── HasRoleTest.php │ │ └── IsGrantedTest.php │ │ └── Strategy │ │ ├── RedirectStrategyTest.php │ │ └── UnauthorizedStrategyTest.php └── testing.config.php └── view ├── error └── 403.phtml └── zend-developer-tools └── toolbar └── zfc-rbac.phtml /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/LICENSE -------------------------------------------------------------------------------- /Module.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/Module.php -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/README.md -------------------------------------------------------------------------------- /UPGRADE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/UPGRADE.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/composer.json -------------------------------------------------------------------------------- /config/module.config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/config/module.config.php -------------------------------------------------------------------------------- /config/zfc_rbac.global.php.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/config/zfc_rbac.global.php.dist -------------------------------------------------------------------------------- /data/FlatRole.php.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/data/FlatRole.php.dist -------------------------------------------------------------------------------- /data/HierarchicalRole.php.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/data/HierarchicalRole.php.dist -------------------------------------------------------------------------------- /data/Permission.php.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/data/Permission.php.dist -------------------------------------------------------------------------------- /data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/data/README.md -------------------------------------------------------------------------------- /docs/01. Introduction.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/docs/01. Introduction.md -------------------------------------------------------------------------------- /docs/02. Quick Start.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/docs/02. Quick Start.md -------------------------------------------------------------------------------- /docs/03. Role providers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/docs/03. Role providers.md -------------------------------------------------------------------------------- /docs/04. Guards.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/docs/04. Guards.md -------------------------------------------------------------------------------- /docs/05. Strategies.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/docs/05. Strategies.md -------------------------------------------------------------------------------- /docs/06. Using the Authorization Service.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/docs/06. Using the Authorization Service.md -------------------------------------------------------------------------------- /docs/07. Cookbook.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/docs/07. Cookbook.md -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/images/workflow-with-guards.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/docs/images/workflow-with-guards.png -------------------------------------------------------------------------------- /docs/images/workflow-without-guards.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/docs/images/workflow-without-guards.png -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/ZfcRbac/Assertion/AssertionInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Assertion/AssertionInterface.php -------------------------------------------------------------------------------- /src/ZfcRbac/Assertion/AssertionPluginManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Assertion/AssertionPluginManager.php -------------------------------------------------------------------------------- /src/ZfcRbac/Collector/RbacCollector.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Collector/RbacCollector.php -------------------------------------------------------------------------------- /src/ZfcRbac/Exception/ExceptionInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Exception/ExceptionInterface.php -------------------------------------------------------------------------------- /src/ZfcRbac/Exception/InvalidArgumentException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Exception/InvalidArgumentException.php -------------------------------------------------------------------------------- /src/ZfcRbac/Exception/RoleNotFoundException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Exception/RoleNotFoundException.php -------------------------------------------------------------------------------- /src/ZfcRbac/Exception/RuntimeException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Exception/RuntimeException.php -------------------------------------------------------------------------------- /src/ZfcRbac/Exception/UnauthorizedException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Exception/UnauthorizedException.php -------------------------------------------------------------------------------- /src/ZfcRbac/Exception/UnauthorizedExceptionInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Exception/UnauthorizedExceptionInterface.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/AssertionPluginManagerFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/AssertionPluginManagerFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/AuthenticationIdentityProviderFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/AuthenticationIdentityProviderFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/AuthorizationServiceDelegatorFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/AuthorizationServiceDelegatorFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/AuthorizationServiceFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/AuthorizationServiceFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/ControllerGuardFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/ControllerGuardFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/ControllerPermissionsGuardFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/ControllerPermissionsGuardFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/GuardPluginManagerFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/GuardPluginManagerFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/GuardsFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/GuardsFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/HasRoleViewHelperFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/HasRoleViewHelperFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/IsGrantedPluginFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/IsGrantedPluginFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/IsGrantedViewHelperFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/IsGrantedViewHelperFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/ModuleOptionsFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/ModuleOptionsFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/ObjectRepositoryRoleProviderFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/ObjectRepositoryRoleProviderFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/RbacFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/RbacFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/RedirectStrategyFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/RedirectStrategyFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/RoleProviderPluginManagerFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/RoleProviderPluginManagerFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/RoleServiceFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/RoleServiceFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/RouteGuardFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/RouteGuardFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/RoutePermissionsGuardFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/RoutePermissionsGuardFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Factory/UnauthorizedStrategyFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Factory/UnauthorizedStrategyFactory.php -------------------------------------------------------------------------------- /src/ZfcRbac/Guard/AbstractGuard.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Guard/AbstractGuard.php -------------------------------------------------------------------------------- /src/ZfcRbac/Guard/ControllerGuard.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Guard/ControllerGuard.php -------------------------------------------------------------------------------- /src/ZfcRbac/Guard/ControllerPermissionsGuard.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Guard/ControllerPermissionsGuard.php -------------------------------------------------------------------------------- /src/ZfcRbac/Guard/GuardInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Guard/GuardInterface.php -------------------------------------------------------------------------------- /src/ZfcRbac/Guard/GuardPluginManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Guard/GuardPluginManager.php -------------------------------------------------------------------------------- /src/ZfcRbac/Guard/ProtectionPolicyTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Guard/ProtectionPolicyTrait.php -------------------------------------------------------------------------------- /src/ZfcRbac/Guard/RouteGuard.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Guard/RouteGuard.php -------------------------------------------------------------------------------- /src/ZfcRbac/Guard/RoutePermissionsGuard.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Guard/RoutePermissionsGuard.php -------------------------------------------------------------------------------- /src/ZfcRbac/Identity/AuthenticationIdentityProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Identity/AuthenticationIdentityProvider.php -------------------------------------------------------------------------------- /src/ZfcRbac/Identity/IdentityInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Identity/IdentityInterface.php -------------------------------------------------------------------------------- /src/ZfcRbac/Identity/IdentityProviderInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Identity/IdentityProviderInterface.php -------------------------------------------------------------------------------- /src/ZfcRbac/Initializer/AuthorizationServiceInitializer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Initializer/AuthorizationServiceInitializer.php -------------------------------------------------------------------------------- /src/ZfcRbac/Module.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Module.php -------------------------------------------------------------------------------- /src/ZfcRbac/Mvc/Controller/Plugin/IsGranted.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Mvc/Controller/Plugin/IsGranted.php -------------------------------------------------------------------------------- /src/ZfcRbac/Options/ModuleOptions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Options/ModuleOptions.php -------------------------------------------------------------------------------- /src/ZfcRbac/Options/RedirectStrategyOptions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Options/RedirectStrategyOptions.php -------------------------------------------------------------------------------- /src/ZfcRbac/Options/UnauthorizedStrategyOptions.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Options/UnauthorizedStrategyOptions.php -------------------------------------------------------------------------------- /src/ZfcRbac/Permission/PermissionInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Permission/PermissionInterface.php -------------------------------------------------------------------------------- /src/ZfcRbac/Role/InMemoryRoleProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Role/InMemoryRoleProvider.php -------------------------------------------------------------------------------- /src/ZfcRbac/Role/ObjectRepositoryRoleProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Role/ObjectRepositoryRoleProvider.php -------------------------------------------------------------------------------- /src/ZfcRbac/Role/RoleProviderInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Role/RoleProviderInterface.php -------------------------------------------------------------------------------- /src/ZfcRbac/Role/RoleProviderPluginManager.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Role/RoleProviderPluginManager.php -------------------------------------------------------------------------------- /src/ZfcRbac/Service/AuthorizationService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Service/AuthorizationService.php -------------------------------------------------------------------------------- /src/ZfcRbac/Service/AuthorizationServiceAwareInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Service/AuthorizationServiceAwareInterface.php -------------------------------------------------------------------------------- /src/ZfcRbac/Service/AuthorizationServiceAwareTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Service/AuthorizationServiceAwareTrait.php -------------------------------------------------------------------------------- /src/ZfcRbac/Service/AuthorizationServiceInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Service/AuthorizationServiceInterface.php -------------------------------------------------------------------------------- /src/ZfcRbac/Service/RoleService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/Service/RoleService.php -------------------------------------------------------------------------------- /src/ZfcRbac/View/Helper/HasRole.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/View/Helper/HasRole.php -------------------------------------------------------------------------------- /src/ZfcRbac/View/Helper/IsGranted.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/View/Helper/IsGranted.php -------------------------------------------------------------------------------- /src/ZfcRbac/View/Strategy/AbstractStrategy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/View/Strategy/AbstractStrategy.php -------------------------------------------------------------------------------- /src/ZfcRbac/View/Strategy/RedirectStrategy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/View/Strategy/RedirectStrategy.php -------------------------------------------------------------------------------- /src/ZfcRbac/View/Strategy/UnauthorizedStrategy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/src/ZfcRbac/View/Strategy/UnauthorizedStrategy.php -------------------------------------------------------------------------------- /tests/Bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/Bootstrap.php -------------------------------------------------------------------------------- /tests/TestConfigurationV2.php.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/TestConfigurationV2.php.dist -------------------------------------------------------------------------------- /tests/TestConfigurationV3.php.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/TestConfigurationV3.php.dist -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Asset/DummyGuard.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Asset/DummyGuard.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Asset/FlatRole.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Asset/FlatRole.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Asset/HierarchicalRole.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Asset/HierarchicalRole.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Asset/MockRoleWithPermissionMethod.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Asset/MockRoleWithPermissionMethod.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Asset/MockRoleWithPermissionProperty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Asset/MockRoleWithPermissionProperty.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Asset/Permission.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Asset/Permission.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Asset/SimpleAssertion.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Asset/SimpleAssertion.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Collector/RbacCollectorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Collector/RbacCollectorTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/AssertionPluginManagerFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/AssertionPluginManagerFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/AuthenticationIdentityProviderFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/AuthenticationIdentityProviderFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/AuthorizationServiceDelegatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/AuthorizationServiceDelegatorTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/AuthorizationServiceFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/AuthorizationServiceFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/ControllerGuardFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/ControllerGuardFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/ControllerPermissionsGuardFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/ControllerPermissionsGuardFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/GuardPluginManagerFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/GuardPluginManagerFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/GuardsFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/GuardsFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/HasRoleViewHelperFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/HasRoleViewHelperFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/IsGrantedPluginFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/IsGrantedPluginFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/IsGrantedViewHelperFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/IsGrantedViewHelperFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/ModuleOptionsFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/ModuleOptionsFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/ObjectRepositoryRoleProviderFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/ObjectRepositoryRoleProviderFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/RbacFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/RbacFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/RedirectStrategyFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/RedirectStrategyFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/RoleProviderPluginManagerFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/RoleProviderPluginManagerFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/RoleServiceFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/RoleServiceFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/RouteGuardFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/RouteGuardFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/RoutePermissionsGuardFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/RoutePermissionsGuardFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Factory/UnauthorizedStrategyFactoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Factory/UnauthorizedStrategyFactoryTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Guard/AbstractGuardTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Guard/AbstractGuardTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Guard/ControllerGuardTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Guard/ControllerGuardTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Guard/ControllerPermissionsGuardTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Guard/ControllerPermissionsGuardTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Guard/GuardPluginManagerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Guard/GuardPluginManagerTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Guard/ProtectionPolicyTraitTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Guard/ProtectionPolicyTraitTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Guard/RouteGuardTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Guard/RouteGuardTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Guard/RoutePermissionsGuardTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Guard/RoutePermissionsGuardTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Identity/AuthenticationIdentityProviderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Identity/AuthenticationIdentityProviderTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Initializer/AuthorizationAwareFake.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Initializer/AuthorizationAwareFake.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Initializer/AuthorizationServiceInitializerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Initializer/AuthorizationServiceInitializerTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/ModuleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/ModuleTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Mvc/Controller/Plugin/IsGrantedTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Mvc/Controller/Plugin/IsGrantedTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Options/ModuleOptionsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Options/ModuleOptionsTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Options/RedirectStrategyOptionsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Options/RedirectStrategyOptionsTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Options/UnauthorizedStrategyOptionsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Options/UnauthorizedStrategyOptionsTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Role/InMemoryRoleProviderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Role/InMemoryRoleProviderTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Role/ObjectRepositoryRoleProviderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Role/ObjectRepositoryRoleProviderTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Role/RoleProviderPluginManagerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Role/RoleProviderPluginManagerTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Service/AuthorizationServiceAwareTraitTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Service/AuthorizationServiceAwareTraitTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Service/AuthorizationServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Service/AuthorizationServiceTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Service/RoleServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Service/RoleServiceTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/Util/ServiceManagerFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/Util/ServiceManagerFactory.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/View/Helper/HasRoleTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/View/Helper/HasRoleTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/View/Helper/IsGrantedTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/View/Helper/IsGrantedTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/View/Strategy/RedirectStrategyTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/View/Strategy/RedirectStrategyTest.php -------------------------------------------------------------------------------- /tests/ZfcRbacTest/View/Strategy/UnauthorizedStrategyTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/ZfcRbacTest/View/Strategy/UnauthorizedStrategyTest.php -------------------------------------------------------------------------------- /tests/testing.config.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/tests/testing.config.php -------------------------------------------------------------------------------- /view/error/403.phtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/view/error/403.phtml -------------------------------------------------------------------------------- /view/zend-developer-tools/toolbar/zfc-rbac.phtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZF-Commons/zfc-rbac/HEAD/view/zend-developer-tools/toolbar/zfc-rbac.phtml --------------------------------------------------------------------------------