Skip to content

Can't display logout button #469

Description

@JoseMPersichini

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions