Home General Discussion

Hide custum task for affected users

Martin_BobergMartin_Boberg Premier Partner IT Monkey ✭
Hi,

A customer have a custom task implemented for service requests. They would like to hide the task if a service request is opened as an affected user.

I have the code to hide a task for analysts, can I use this code and replace session.user.Analyst ?

//If the user is not an analyst, hide the task
//if (session.user.Analyst) { 
// $( ".taskmenu li:contains('Custom Task')" ).hide() 
//} 

Thanks
Martin

Best Answer

Answers

Sign In or Register to comment.