-
I added the ZfcRbac into my application and the guard is blocking my page correctly.
```
'zfc_rbac' => array(
'guards' => array(
'ZfcRbac\Guard\RouteGuard' => a…
-
I was implementing this new `zfc-rbac` module and found it very limiting that assertions can only be mapped by permission. I think in many user cases you would like to map assertions by role and permi…
-
if (!$this->isGranted('foo')) {
$app = $this->getServiceLocator()->get('Application');
$em = $app->getEventManager();
$mvcEvent = $app->getMvcEvent();
$mvcEvent->setError(Rbac::ERROR_CONTROLLER_UNAUTH…
-
I was reading this issue: https://github.com/ZF-Commons/zfc-rbac/issues/58
because I have a similar problem, I can not use doctrine so I am trying to implement with Zend Db.
I imported your module 'J…
-
I tried to bind `ZfcRbac` to `Zend\Navigation` and followed this solution:
http://stackoverflow.com/questions/18941763/zend-navigation-and-rbac/18942160#18942160
``` php
public function onBootstrap(M…
-
> One mistake most beginners do is protecting their applications using guards only. This leaves your application open for some undesired side-effects. As a best practice you should protect all your se…
-
Please could you add some message when the role provider config index array is empty? Lost some time after installation debugging it.
I know it seems very obvious that this index must be set, but sin…
-
After install of ZrcRbac, i get this error:
```
Fatal error: Uncaught exception 'Zend\ServiceManager\Exception\ServiceNotFoundException' with message 'Zend\ServiceManager\ServiceManager::get was unab…
-
I have a question regarding usage of RouteGuard rules and RoleProvider permissions.
What is the use of RoleProvider permissions if i have RoutGuard rules set? Are they ever being used? I don see any …
ghost updated
10 years ago
-
any idea on how this can be done