Question By
Unsolved

Role Permissions

nick1

Aug 20th, 2020 08:53 AM

Hi Guys, I am trying to differentiate the front end views based on the roles. I have a made a role however it shows as cancelled. I presumed this was because it didn't have any permissions, after adding some light permissions (Browse/read menus, announcements) I received a successfully updated message but the permission was'nt created/updated in the database?

Secondly the auth middleware dictates the access to the views but where/how do I allocate them to different roles? Thanks

bobbyiliev

Aug 20th, 2020 05:57 PM

Hi there,

Indeed I was able to replicate the problem at my end as well.

As a quick fix what you could do is:

  • Go to Voyager
  • Go to BREAD
  • Edit the roles bread
  • Add the following as the Controller Name
TCG\Voyager\Http\Controllers\VoyagerRoleController
  • Then save the BREAD

After that you should be able to edit the roles as expected.

Let me know how it goes!

Report
2