The CreatorCon Call for Content is officially open! Get started here.

Enable List Edit only for few fields

GokavarapuS2337
Tera Contributor

Hello Guys, Hope you are doing well

Here's the requirement:

 

On kb_knowledge table -> List Editing is disabled in List Control

I have a group X. I want the members of this group to edit fields from the list.

I want the group members only to edit few selected fields (short description, category etc)...not all the fields

 

Achieved Solution:

1. I have enabled list editing from the List Control

2. Written a field level "list_edit" ACL where i added this group condition.

This is working as expected. Only the group X members were able to edit from the list.

 

The problem is I need to allow list for around 10 fields. 
Do i need to create 10 ACL's?

Any alternatives or best approches?

Appreciate your inputs. Thanks!

 

 

 

6 REPLIES 6

Hi @Chaitanya ILCR ,

 

Thanks for the response.

 

I too feel ACL's are best for this.

 

 Client scripts will be too complex and not good (dumb 😂) as we need to create one for each field.

 

BR is not scalable compared to ACL.

 

Can you please let me know how to work the solution with ACL's

 

I will create 10 ACL's with list_edit operation.

This will allow me to edit those 10 fields.

 

How to i restrict the remaining fields?

How to write the ACL for this? Which operation to use? If possible please explain in detail 

Hi @GokavarapuS2337 ,

1.create a table.none list edit acl (give access)

2.create a table.* with list edit acl ( give only access to admin)

3. create 10 acls for 10 fields ( with the logic to check if user is part of the group or not and give access)

 

12 ACLs in total

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya