Just wondering how I can hide the sidebar menu based on profiles assigned to that user?
For instance, I want users with Configuration Management to only see "Configuration Management" menu and nothing else (Helpdesk/Incident Management/Problem Management/Change Management/Service Management/Data administration will be hidden from the sidebar navigation)
How do I go about doing that?
Thanks in advance
Last edit: Joseph 2022-10-27
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You'd need to create a datamodel XML customization (so basically create your own extension), and redefine some of those menus to be linked to user profiles.
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Profile rights are applied on classes, so not directly on menus.
But some menus are displayed based on a "resource class", so that we can customize if they are displayed or not using profiles.
Hi!
Just wondering how I can hide the sidebar menu based on profiles assigned to that user?
For instance, I want users with Configuration Management to only see "Configuration Management" menu and nothing else (Helpdesk/Incident Management/Problem Management/Change Management/Service Management/Data administration will be hidden from the sidebar navigation)
How do I go about doing that?
Thanks in advance
Last edit: Joseph 2022-10-27
You'd need to create a datamodel XML customization (so basically create your own extension), and redefine some of those menus to be linked to user profiles.
Yes I've done so:
Let's say I want this user profile to not be able to access the Change Management:
I add this inside the <profile></profile>
But this only restricts access to the Change Management, it does not hide it from the sidebar, any idea how to hide the from the sidebar?
Do you happen to know where the existing menus are defined in the files directory so I can get some idea of what to edit?
Thanks
Last edit: Joseph 2022-10-28
Hello,
Profile rights are applied on classes, so not directly on menus.
But some menus are displayed based on a "resource class", so that we can customize if they are displayed or not using profiles.
Check this tutorial that should give you some more info : Delegate 'Admin tools' menus [iTop Documentation]
The Change management menu isn't linked to a class in the default datamodel, but you can add a customization to add one !