How do you create different types of admin roles in voyager that can only view their own records

Posted In Voyager
  • yaknan-gambo 6 months ago
    Hi, I am new to laravelvoyager admin. How do I create multiple admin users with different roles that can only perform BREAD operations on their own records only in voyager admin.
    
    I have the following models: User, Employee, Department, Faculty, Publications, Post, Event and Advert. All employees are users that belong to a department. Each employee should be able to edit and update his/her details and any other Post, Event or Publication that is theirs only.
    
    Please how can I achieve this in Laravel voyager admin? Thank you.

    Hi, I am new to laravelvoyager admin. How do I create multiple admin users with different roles that can only perform BREAD operations on their own records only in voyager admin.

    I have the following models: User, Employee, Department, Faculty, Publications, Post, Event and Advert. All employees are users that belong to a department. Each employee should be able to edit and update his/her details and any other Post, Event or Publication that is theirs only.

    Please how can I achieve this in Laravel voyager admin? Thank you.

  • safe-mood 6 months ago
    u can set this with user roles and permissions 
    
    See this
    
    https://laravelvoyager.com/academy/roles-permissions/

    u can set this with user roles and permissions

    See this

    https://laravelvoyager.com/academy/roles-permissions/

  • yaknan-gambo 6 months ago
    @safe-mood thank you for the reply but I have used the roles and permissions. Permissions only enable select BREAD operations the user is allowed to do on a table. It does not restrict records. The user sees every record in a table. My challenge is to prevent the user from seeing all records. Any ideas?

    @safe-mood thank you for the reply but I have used the roles and permissions. Permissions only enable select BREAD operations the user is allowed to do on a table. It does not restrict records. The user sees every record in a table. My challenge is to prevent the user from seeing all records. Any ideas?

  • chris-pine 2 months ago
    This is really a great website. Thanks for the information.
    If you are daily customer of home depot store then take some time and participate in the home depot customer satisfaction survey on this website [homedepot survey](https://www.homedepotcomsurveys.com/)

    This is really a great website. Thanks for the information. If you are daily customer of home depot store then take some time and participate in the home depot customer satisfaction survey on this website homedepot survey

Please login or signup to leave a response.

Login

or Sign Up

Sign Up

or Login
×
Want to create your own SAAS?

I can teach you to create your own Software as a Service. Click here to learn more!

Visit SAAS Adventure!