How to remove 'Save' button from the Change Task tab in Change forms

Rebecca L
Tera Expert

I have a requirement to prevent users from being able to create change tasks.  Our users have been doing so by using the 'New' and 'Save' buttons on the Change Task tab.  Removing the New button was simple as there is a checkbox in the List Control to do this globally.  However, removing the 'Save' button does not seem to be as simple.  I have been reading older threads that seem to be related to this but have not found a solution.  There is not a UI Action named 'Save' on the change_task or task tables to disable the button globally.  Is there another way?

1 ACCEPTED SOLUTION

Xavier Cordero
Kilo Sage

Hello Beclyn,

In order to remove the ability for users to save records within the table, edit the "create" ACL for the given table. By doing this via ACL you are ensuring that they cannot create new records within the table.

To do this:

1. Navigate to "Access Control(ACL)" Module.

2. Locate the existing create ACL for change tasks.

3. Open the record which states "create" under the "Operation" column and "change_task" under the "Name" column (the one shown below).

find_real_file.png

4. Elevate your privileges to Security Admin (required to edit ACLs).

5. From the Requires role list within the form, remove 'itil' and add 'admin' (you will want to have a role there or it will take it as the table not requiring any role).

 

The ability for users to create new records within the table will now be gone. Buttons such as "Save" won't be available for users to create new records, as these buttons check the ACLs to decide if they show up or not (image of the button checking for the ACL below):

find_real_file.png

View solution in original post

7 REPLIES 7

Rahul Kumar17
Tera Guru

hi

 

 

 

 

Mark the comment as correct if it is helpful for you and closed this thread so other also benefited for same questions .

Thanks
Rahul kumar

If my response helped please mark it correct and close the thread.

Thanks,
Rahul Kumar

Rahul Kumar17
Tera Guru

hi

acl write 

If my response helped please mark it correct and close the thread.

Thanks,
Rahul Kumar

Rebecca L
Tera Expert

Thank you to all who replied.  This thread can be closed.  But, I hesitate to select a single correct answer.  All of the answers were helpful in finding a solution and gaining a better understanding of the situation.  As was pointed out, there seems to be some custom code.  In the end, the ACL list edits worked.