Search code examples
strapi

Strapi Identifier or password invalid


I have an author role, i want user with an author role connect to Strapi app for add content for example.

I found http://localhost:1337/admin/auth/login for connect to admin panel of Strapi but this for Administrator.

What's url for user with author role ?


Solution

  • Currently it is not possible since "front-end users" are separated from administrators.
    This is a good read on the concept of Administrators & front-end users, it will give you a clear understanding on these concepts & answer all your questions.

    Custom admin UI is in the road-map under 3 tasks:

    Administration Menu
    Users, Roles & Permissions
    Also - Field-level permissions

    So maybe by 2021 :)

    What you can do to limit permissions:

    1. Set permissions on the API endpoints by role.
    2. Set permissions on the content-manager & content-type-builder plugins.
      ie. Roles & Permissions => author => CONTENT-MANAGER => disable delete etc.
    3. 2018 post from Strapi contributor explaining how to hack some solution until the system has this feature. It's complex, hacky and has security failures. I still mention it because it's very relevant to the question and some might be interested.