1. jayrigby
  2. General
  3. Tuesday, April 10 2018, 06:09 PM
Is there a way you can think of so that I can hide a users fields from an admin depending on their user group or access level the admin has?

Some sort of conditional logic on the field would be amazing, like:

If current_logged_in_user's access level is XXX

then

Hide this field

Can you help? Thanks!!!
admin Accepted Answer
Admin
Hi,
for each field you can set "Available for" and "Visible for", read the tips for more informations (see screenshot). These parameter are based to Joomla ACL
Attachments (2)
  1. more than a month ago
  2. General
  3. # 1
jayrigby Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Hi,
I was thinking of creating a field called 'user_acl' and automatically populating this field with the current logged in users access level.
This could be a possibility, another way is to create a new usergroup and a corresponding ACL, therefore you can set "Available for" parameter only for this new ACL.
  1. more than a month ago
  2. General
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.