Click here to Skip to main content
15,877,915 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I work with the project management system app https://www.rukovoditel.net/ which works with Bootstrap 3 and it has a build in access and role management for users.

In configuration it is possible to hide menu items based on user roles, the complicated part is, that the app has tables and a calendar function which is needed for our work and where entries get visible from into the calendar.

When a user with role and access rights for adding entries to a table does this, their entry is visible in the calendar afterwards, but when a user without access rights shall see this entry, they also need the same access rights as the creator role of the entry in the table to see it which is to prevent.

In the app I have several tables linked in a menu and would like to hide them when the user has a specific user role, but should be able to still see the entries in the calendar from tableentrys.

It is possible to hide a menu item from user role who do not have the access rights but then they can not see the entries in the calendar.

Actual behavior:

- User with role "Manager" has access to menu item with table and can enter data, after this they are visible in calendar. "Manager" can view the calendar with entries he made in the table.

- User with role "Team" have access to the menu item and table and can see data inside. In this case he can see entries in calendar.

- When changing access rights for user role "Team" to hide menu item it is also not possible to see things in the calendar.

Desired behavior:

- User with role "Team" can not see the menu item where data are entered but should be able to see the table entries in calendar.
Question, is it possible to hide menu items in a different way?

In last update the dev added functionality to use custom code to create classes, maybe this information could be helpful. Also you can test and have a bit deeper look about the structure when viewing the demo page here https://www.rukovoditel.net/demo.php.

Hopefully this explanation is good enough to understand but please ask if you have more need on details.

https://i.stack.imgur.com/s3kEs.png[^]

What I have tried:

Because this question is very specific i did not found anything related to it.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900