Hello, I have a problem with permissions.
When I do $this->User->logout(); the button to logout not appears. It is a problem of permissions.php, because if in my permissions I set:
[
'role' => '*',
'plugin' => '*',
'controller' => '*',
'action' => '*'
]
The button appears. But if I comment that and set:
[
'role' => 'user',
'plugin' => 'CakeDC/Users',
'controller' => 'Users',
'action' => ['register', 'edit', 'view', 'logout'],
'allowed' => true
],
The button not appears. Why?
Hello, I have a problem with permissions.
When I do $this->User->logout(); the button to logout not appears. It is a problem of permissions.php, because if in my permissions I set:
The button appears. But if I comment that and set:
The button not appears. Why?