Unable edit/update the values in list view but can edit in Form

sattar3
Tera Contributor

Hello Everyone,

 

Issue is User was unable to edit the values in list-view but he can able to edit in Past, how can we know if any role or group removed from user's profile in recent?

 

And user have access to edit/update in inside the form, i checked the ACL's as well. User having all the roles to edit in the list-view but don't know why he was unable to edit it.

Getting this below error while updating.

sattar3_0-1738171051393.png

Table name: cmdb_ci_pc_hardware

User can able to edit some fields in list-view but some other fields not able to update.

We have one acl called "cmdb_ci_pc_hardware.*-"Allow list_edit for all fields in cmdb_ci_pc_hardware, for users with role cmdb_write_advanced_pc_hardware", having this role also User was unable to edit

 

Do we know reason and how we can fix this? 

 

@Sandeep Rajput @Ankur Bawiskar 

 

Thanks,

Sattar

14 REPLIES 14

@Ankur Bawiskar yes it's for normal list view.

 

Thanks,

Sattar

@sattar3 

definitely ACL issue.

Since we don't have access to your instance to troubleshoot can't help much.

Hi @Ankur Bawiskar @Sandeep Rajput @Chaitanya ILCR ,

 

I tried to debug the security rules to find out the ACL, i got this result and because of the below ACL it's causing issue.

Debug log:

sattar3_0-1738763436548.png

and ACL is on alm_hardware table, user trying to edit on cmdb_ci_pc_hardware table.

sattar3_1-1738763483881.png

Condition: ci.sys_class_name!=cmdb_ci_pc_hardware^EQ

Script: answer=true;

 

So user can't able to edit because the table name is "cmdb_ci_pc_hardware" right? but user can able to edit other fields except "stockromm".

 

Could you please help me on this?

 

Thanks,

Sattar

 

@sattar3 

yes that's correct. this is the ACL which is blocking all the fields on list due to the class check in condition.

there might be some specific list_edit for stockroom field which is allowing

If my response helped please mark it correct and close the thread so that it benefits future readers.

@sattar3 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.