Views and View Rules

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi guys,

i have one basic question,

i read articles on wiki about View and View Rules.

But i am not getting exactly how can i have someone view a specific view.

i have one view on incident and i want it to be viewed by one particular user with particular role.

For ex: if i have role abc, he should view xyz view.

1 ACCEPTED SOLUTION

paramveer
Mega Guru

Suppose you don't want ITIL role   users to show the Urgency field on incident form.



Then go to access control --> create new


ACL Name : Incident.urgency, Operation Read check advance.



In script write :


if(gs.hasRole('ITIL') {


answer = true;


}


else {


answer = false;


}



find_real_file.png


View solution in original post

14 REPLIES 14

Example of ACL please


Community Alums
Not applicable

Hi kalai..



I am also facing the same issue which mentioned in the below thread .could you please help me on this.



Not able to assign view to the user using view rule



Thanks,


Swamy


JB23
Mega Contributor

I created a new change type for our organization to track changes to non-production servers (test, int, stage, dev). We are bypassing cab and approvals for this change type. I created a view for the change request form but I only want that view to apply to this form. Any other change request type should be the default view. These settings are not role-specific.  Can you help with that? 🙂 

paramveer
Mega Guru

Suppose you don't want ITIL role   users to show the Urgency field on incident form.



Then go to access control --> create new


ACL Name : Incident.urgency, Operation Read check advance.



In script write :


if(gs.hasRole('ITIL') {


answer = true;


}


else {


answer = false;


}



find_real_file.png


Thank you,


but this i know. i want it through view and view rules thats it