Allow users with snc_external role to edit a form in service portal page.

Chitra23
Tera Contributor

Hi,

 

I have created  a custom table and using a form widget (cloned and customized as per  my need ) to display the form for that table in a service portal page. The problem is , the portal users are mainly users with snc_external role and the form fields are diabled for those users. I've explicitly added ACLs for snc_external users to that custom table and still the form fields are disabled. How to enable them for the external users? 

P.s: I have tried impersonating as an internal user and the fields are editable for that user.

4 REPLIES 4

Sandeep Rajput
Tera Patron
Tera Patron

@Chitra23 This looks like an ACL issue to me, could you please check if you have created an ACL on your custom table with a write operation and by adding the snc_internal and snc_external roles in the roles list?

 

Hi Sandeep,

I have created ACLs on the custom table with create, read, write and delete operations  for  snc_external role. I wonder if it has got something to do with the ui_page/*/read ACL.  Do I need to add ui_page ACL with write operation for this table ? If so, how to do it?

@Chitra23 Had this been about a read ACL, you would have not been able to see that UI Page at all. Could you please share the screenshot of your write ACL here. Also, try to use Debug Security module to debug the ACL for your snc_external user, it will give you details on which ACL is failing due to which your external user is not able to edit the form.

Bert_c1
Kilo Patron

To see if an ACL is involved, enable Debug Security, impersonate an affected user, and review the debug output.  Search for 'rc = false'. There may be some field level ACLs on the table.  There could also be Client Scripts, Data Policies, and maybe other configuration affecting the ability to edit the fields.