Skip to content

Check Role without Name #12

@ghost

Description

Hello @gravitano,

can I check with your plugin, if the user has an role without knowing the name ?

Background:

Only user with a role can login in the admin panel. So I have a custom middleware, in which I will check, If the user is auth and if the user has an role (but I don't know the name).

Currently I use database access via model.

Is there a better solution ?

Greetings!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions