Granting access to CMDB to edit fields

jmbrake
Kilo Expert

I am looking for a way to be able to give access to the CMDB for IT users to be able to modify fields, such as Manufacturer; OS Version; Supported By; Support Group and many more.   I have attached a screen shot of one of the CI's.   These users all have the itil role.   I don't want to just give these users the Asset role because it turns on or makes visible the modules Asset Portfolio; Inventory; Asset Contracts; Financial Mgmt; Organizational Mgmt.   All I want to do is allow them the rights to be able to "edit" the fields for a CI.   I think an Access Control List would do this, but I don't know how to make it work.   I created one and have also attached it.

1 ACCEPTED SOLUTION

jmbrake
Kilo Expert

I figured it out.   Instead of creating a new ACL (cmdb_ci*); I used the existing ACL cmdb_ci for write.   I added in the Required Roles section the ITIL Role and tested successfully.   I took it one more step from there.   I decided I didn't want all ITIL users to have access to write to these fields and created a new role called "cmdb_user"; then added that in the Required Roles instead of ITIL.   In the Role cmdb_user, I am then able to manage which users or groups can have this access.     Thanks to all that responded, it did help lead me in the right direction.


View solution in original post

8 REPLIES 8

ghaynie
Kilo Explorer

Hi Joan,



Instead of using the script to assign rights to the itil role, use the Requires Role section below that.



Gabe


prdelong
Kilo Guru

I would use the required roles at the bottom. However for the scripting part, it should look like this:



if(gs.hasRole('itil') || gs.getUser().isMemberOf(current.support_group)){


answer = true;


}


m_servicenow
Kilo Contributor

Joan,


ITIL users can do modify(Update) the Configuration items. This functionality is given OOB in ServiceNow.



You don't need to do any extra effort for this.


If you have any concerns let me know.



Best Regards,


Mukesh


jmbrake
Kilo Expert

I have tried the two suggestions above and still can not make these fields editable for itil users.   I have tried it with scripts, without scripts and as suggest OOB; but if you refer to the screen shots, there are many fields grayed out to an itil user; regardless of what has been tested so far.   I also tried to add an ACL for the asset* and put itil role in the Requires Role section, that also did not resolve the problem.   Any other ideas out there?