This Geeklog PHP function was written to allow site admins to quickly check and update access rights for a group. Geeklog uses the concept of features or access rights. Examples of these rights are story.edit or chatterblock.user
It is not possible, using the Group Editor, to edit the feature access rights for the core Geeklog groups like the "logged-in Group". Modifying the access manually via SQL required an understanding of several linked group access and features assignment tables.
This block simplifies that task for the site admin and Plugin Developers can continue to add new access rights for flexibility in managing access and control.Plugin Developers often create new access features so site admins can create custom groups but it's often a pain if the site admin wants to give access to all-users or all logged-in users to the new feature.
This Block allows you to check a group to see if it has access to a specific feature.
You can then add or remove access to this feature for that group.
** NOW Caution should be noted ** As it's possible to remove access for root as well to a feature.
I have taken time to check that this block works but I can not be responsible for your data integrity.
Please do report any problems if you encounter them -- Use the discussion forum on my site langfamily.ca for support.
It is available now on this site in the Downloads area or on my site.
Geeklog components by PortalParts -- www.portalparts.com