I have created list_edit Acl to restrict the Task's state field on list view

mastanbabuk
Tera Contributor

Use Case: Group "ABC" should not be able to edit the state filed in list view. Based on some fileds which are presnt in task ex: vendor, part Number, Price. Without filling these fields in task the "ABC" group don't allow to complete the task in list view.

 

I have created the list_edit ACL, It is working. But in one case it's failing to work.

 

Case is:- If we open the RITM and load related list and try to make state to close complete its allowing to make change state field actually it shouldn't.  

 

Same way If we open the task in next page then if I try to make change state field in list view then it restricting the access to filed. 

 

I didn't understand why the ACL behaviour as above. Any open please help? Bit Urgent 

 

 

I have written a script as below

 if (current.getValue('short_description') == 'Purchase Required for the product' && current.variables.vendor.getValue() == '' && current.variables.publisher_part_number.getValue() == '' && current.variables.number_of_purchased_rights.getValue() == '' && current.variables.purchase_currency.getValue() == '' && current.variables.unit_cost.getValue() == '' && current.variables.po_number.getValue() == '') {
     answer = false;
 } else {
     answer = true;
 }

 

0 REPLIES 0