Skip to content

User and group DB records with protected set to 1 having no effect #146

Open
@perryholden

Description

@perryholden

I am using laravel-authentication-acl 1.3 with Laravel 5.3 running on PHP7.

Per the documentation, users and groups can be restricted from the admin UI by setting the DB record's 'protected' field to '1'. Unless I am misunderstanding the documentation, I would think that this restricts specific users from logging into the admin portion. However, setting these values in the DB have no effect on logging into the admin panel.

It appears that both the user login and admin login screens call the same SentryAuthenticator::authenticate method, and the protected value does not seem to be taken into account.

Is this an issue, or am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions