Need to restrict user to edit user table records excepts some fields.

karishma
Mega Expert

Hi All,

I have a requirement to give access to  one group who can edit only two fields of user table.

I created one role and i created two wrote  ACL's which will give access to write this two fields.

As user module will be available after user_admin role only so i gave user_admin role to that group.After adding this role all the fields are editable for them on user table.

Can anyone please suggest how to achieve this.

 

18 REPLIES 18

find_real_file.png

 

So in above screenshot I removed user_admin role for First name field level ACL so that will become readonly as that user now do not have access to that field.

Check result below.

find_real_file.png

Thanks,

Dhananjay.

MrMuhammad
Giga Sage

Hi @Karishma

The process will be as follows

  1. Don't override OOB ACL and even don't assign user_admin roles.
  2. Create a Read ACL at the Table level and give a unique role that the target group has.  [User will be able to see the records now]
  3. Create two Write ACL's. One for each field and give that unique role. [User will only have write access to those two fields].
  4. Done!

Let me know if that helps!

Thanks & Regards,

Sharjeel

 

Regards,
Muhammad

But they don't have users module access and we can give this module access by providing user_admin role only right?

For Module Access in the filter navigate, just hover over User Administration and click on the pencil icon. Under the visibility, section add "Your Role" to Roles List. 

find_real_file.png

If you only want to give access to Users module not the whole User Administration Application then hover ove Users and follow the same steps.

Regards,
Muhammad