Show all modules from CMDB_CI to itil role

Henrik Jutterst
Tera Guru

I'm looking for a way to confirm that all modules found under Configuration Items ([cmdb_ci]) can be viewed by ITIL-role.

I have created some custom modules and I'm not sure what role sees what module. But I want that if a user is in the itil role they should be able to view all application modules.

Is there a way to script this?

find_real_file.png

Fig 01. Custom module not shown for users in itil role at the moment

1 ACCEPTED SOLUTION

Dave Smith1
ServiceNow Employee
ServiceNow Employee

I have created some custom modules and I'm not sure what role sees what module.


This should have been a setting when you created the module:


find_real_file.png


Is there a way to script this?


Does it need to be scripted?



It's perfectly possible, but by the time the script has been designed, written and tested, you could have done it manually - scripting would only be needed if there are a large number of modules and no thought was given to security upon creation.


View solution in original post

7 REPLIES 7

Bhagya Lakshmi
Mega Guru

Hi,


Try this once



edit these modules and put role like this, I don't know surely


role.PNG


Jaspal Singh
Mega Patron
Mega Patron

Hi Henrik,



All you need is to look for System Definitions >> Modules & then search for necessary module name. Open it & then modify the visibility by adding necessary roles.


So, when Users log in & has necessary roles then they would be able to view necessary modules.


Valentina6
Giga Guru

Hi Henrik,


you can get this information checking in the application menu form (click the pencil 'edit application' next to the menu title) where you can see roles associated to the application menu and roles associated to the module menu scrolling down in the related list.



There are two levels of access:


  • Access to the application menu
  • Access to the module menu (subcategory of application menu)


If role field in the application menu is left blank, all users can view the application menu.


If role field in the module menu is left blank, the module is visible to all users who have access to the application menu.


There is also the 'override application menu roles' option, that allows users to access the module menu even if they do not have permission to view the application menu.



Hope it helps!



Regards,


Valentina


Thanks for the input. Together with the posts on the thread I found out that the easiest way was to do it in the GUI. And thanks for pointing out again that a blank rule gives access to all users.