Offline access ACL is not working with flexi menu items

More
11 years 1 week ago #42033 by kogos
I'm banging my head through a wall here.

I setup all user permissions in both joomla and flexicontent ACL and everything works as they supposed to when site is online. But, when site is in offline state (global configuration -> site) only super admins can see the site, even if other users have offline access through ACL.

This is what i did on a clean joomla installation to check it out:
- Installed joomla 2.5.16 + latest stable flexicontent and added a test flexi category menu item.
- created a new admin group and a user named "admin2", setup for this group, giving all the privileges of super admins except "super admin" status under Global configuration->permissions.
- Checked ALL permissions in categories and global configurations of flexicontent so that super admin group is the same with matches with admin2 group.
- Logged in admin2 on frontend, everything works fine.
- Set the site offline in backend (global configuration->site), and although admin2 user has offline access, any flexicontent menu is not showing any content. However, joomla menus are showing content. Only the menus related to flexi menus are not showing any content. Modules and other stuff are showing just fine.
- If i give super admin status for admin2 user, everything is working. But the reason of having offline access privilege is to give offline access to non-super admin groups, which does not work for me...


Any help on this would be highly appreciated since it's on a live site and i can't keep it like this for too long.

Thanks for the great work you're doing with flexi...

Please Log in or Create an account to join the conversation.

More
11 years 1 week ago #42036 by ggppdk
Hello

yes this is forced behavior

we should revise some code we have in ...

components/com_flexicontent/flexicontent.php

edit the above file and near the top there is a line

if (!$isAdmin) return;

remove it or add 2 slashes in front of it:
//

This will work if user is logged ! (for unlogged it will not)

Regards

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 1 week ago #42040 by kogos
commenting this line fixed it... i feel like a full not looking into this myself in the first place...

Seriously, the type of support you provide through this forum is something to talk about... thanks for the prompt reply.

Please Log in or Create an account to join the conversation.

More
11 years 1 week ago #42041 by ggppdk
Hello

this was since J1.5, but it is not appropriate for J2.5+

-- next version will use the ACL

thanks for report

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.417 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline