Access Plus v0.4

Release Notes

Developed and tested on Elgg 1.7.10, no guarantees on previous versions but feel free to try.

There may still be bugs I haven't found.  Please test carefully before using it on a production site.

 

Changes in this release:

"Friends" can now be selected in conjunction with Group Access Collections as group members are not necessarily friends.

Move sync function to cron for performance reasons

Added site administration access view to default blacklist

 

Known Limitations:

Admin toggle function does not work intuitively for widgets as the position of the widget on the page affects it's identification.  eg. Blog widget at the top of the left column is treated differently than a blog widget at the top of the middle column.  All widgets handle multiple access though so there should be no reason to disable it.

Due to the necessity of maintaining the metacollections, if the plugin is disabled the metacollections will remain in the state they are at the time of disabling.  One potential unintended scenario that could happen is as follows:

1. Plugin is enabled

2. A user creates a blog post, sets multiple collections for access

3. Plugin is disabled

4. The user removes a friend from one of the access collections

5. The removed friend still has access to the post because the metacollection wasn't updated with the removal change

 

Also the reverse is possible

1. Plugin is enabled

2. User creates a blog post, sets multiple collections for access

3. Plugin is disabled

4. The user adds a new friend to one of the access collections

5. The added friend does not have access to the post because the metacollection wasn't updated with the new friend

There is a sync function that is called on cron after a user logs in or out, so these problems will correct themselves if the plugin is re-enabled.  I don't foresee it being a major issue unless you're constantly toggling it off and on.

 

Please report bugs through the github issue tracker, thanks!

Matt Beckett

I'm a self-employed web developer, family man, nerd, scuba diver. Manager/maintainer of this elgg community site, and core Elgg development team member.

Stats

  • Category: Communication
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-12-4
  • Downloads: 4758
  • Recommendations: 15

Other Projects

View Matt Beckett's plugins