Clone Roles

moncef
Tera Contributor

Hello,

I need to clone admin role to get the exact cloned_role with the same caracteristics of admin role.

Have you any ideas please ? 

Thank you.

4 REPLIES 4

Uncle Rob
Kilo Patron

WHY!?

moncef
Tera Contributor

well, i need it to see if i can resolve another problem, it's about broadcast message.

The broadcast message it appears also for admin users even if i precise a unique role that this message should appear to, it appears automatically to users with admin role.

So i was thinking that by creating a cloned role of admin role, and assign this cloned role to those users, then they will not receive this broadcast message.

I hope i was able to explain to you why i want this.

Thank you.

Andrew Barnes -
ServiceNow Employee
ServiceNow Employee

Greetings Moncef,

 You can't clone a role and have all the same characteristics - as the roles are referenced in MANY MANY places. ACL's, scripts, conditions, in thousands of places reference roles. The admin role is extra special, and certainly can't be cloned to achieve feature parity. 

As my friend Robert says, "why" do you wish to do this. That might help us, help you.

-Andrew Barnes
Developer Advocate
Visit at ServiceNow Developer Blog: https://developer.servicenow.com/blog.do

well, i need it to see if i can resolve another problem, it's about broadcast message.

The broadcast message it appears also for admin users even if i precise a unique role that this message should appear to, it appears automatically to users with admin role.

So i was thinking that by creating a cloned role of admin role, and assign this cloned role to those users, then they will not receive this broadcast message.

I hope i was able to explain to you why i want this.

Thank you.