Forums

Frontend permission check after user profile update

07piotr.bukowski 31 May, 2015
Hi Forum Members,

Just spotted a bug that when there are permission restrictions set for frontend - for e.g. only registered users can view connection and then user updates standard Joomla profile (for e.g. change password, name, lang. etc.) in the frontend he/she won't have permissions to view connections! the only way is after each profile update is to logout and then login again but that is not intuitive.... Any suggestions how to fix it??

it seems that after profile update, the permission check function is freaking out...😟

Many thanks
Piotr
GreyHead 04 Jun, 2015
Hi Piotr,

I can only guess that the Profile change somehow removes the current User object and so the group settings are no longer found - sounds like a Joomla! bug to me.

You could perhaps build a ChronoForms profile form that re-logs the user in after an update??? Shouldn't' be necessary though.

Bob
07piotr.bukowski 04 Jun, 2015
Hi Bob,

Not sure if that is purely joomla bug as if you have areas restricted by menu permissions - for e.g. items for registered only then after profile update you still have access to it....
custom form for profile update could be a solution but it seems to be an overkill as profile update is already standard joomla function

by the way that is not just cc, same bug appears in chronoforums and in chronoforms when using authentication

Thanks
Piotr
This topic is locked and no more replies can be posted.