Is there a way to restrict adding a specific role to an assignment group

Rajat_Singhal
Tera Expert

I want to restrict adding ITIL role to an assignment group "ABC". Any thoughts on how to achieve this requirement.

4 REPLIES 4

Aman Kumar S
Kilo Patron

Hi @Rajat_Singhal 

Restrict as in?

Only ITIL role should be assigned to this group and no other role OR at least ITIL should be there with other roles?

 

Either way, its an unnecessary requirement, why do you want to build a validation and put load on system, there are few things that should be left on user's education and common sense, you can certainly add validation but it is just going to add nuisance for the system and total inconvenient additional configuration to take care of.

 

 

Best Regards
Aman Kumar

itil role cannot be added to ABC assignment group

When you are looking for 100% automated tool you don't expect even a silly things to be missed. I don't agree with the statement that it will put load in the system.

As I said earlier 100% automated tool doesn't need a single negative scenario to be left unaddressed.

 

I hope this must be accomplished by customers already, So if there is a way that you can think of that can help achieve this requirement it would be of great help

Hi @Rajat_Singhal 

What I meant was a limited number of people has access to role management and its easier to track this and train user about this.

I absolutely agree, silly things must not be missed but if you sit down and start configuring everything, it a longer run it will impact the system.

As far as the configuration goes, you can simply write a Before Insert BR on the Group Role(sys_group_has_role) table.

AmanKumarS_0-1693929733508.png

 

AmanKumarS_1-1693929760231.png

 

This should work out for you!

 

Let me know how it goes, and mark helpful and correct if this resolves your issue, so anyone else looking for the same find this thread closed and solved.

 

Best Regards
Aman Kumar