Hi, i make custom profiles with bridge, every user have his own profile in 1 article. Is there a way to block to the ser see others profiles? i have more than 200 users make a access level for each can be not an option
I need that every user see his own but not other with a forbiden message. Thanks
You hit a limitation of weird Joomla view permissions. What you can do is to apply permission restriction from ACL pack
on each field. Unfortunately this won't give you forbidden message, but
user will only see a blank page as all fields will be restricted to
Alternative way, if you know little php, would be to do your
check in beforeRender event from code pack and redirect to some other
page if user it not author of this field.
Unfortunately there is no "view.own" in Joomla as it treats view differently. Only way I can think of is to use beforeRender field and check if current user matches author and if not, redirect to somewhere else.