Groups provides group-based user membership management, group-based capabilities and content access control.
Groups provides group-based user membership management, group-based capabilities and content access control. It integrates standard WordPress capabilities and application-specific capabilities along with an extensive API.
Groups defines some capabilities of its own. The groups_read_post capability is used to restrict access to certain posts or pages to groups (and users) with that capability only.
FrameworkBeta-testers and developers who need to integrate group-based features in their plugins and web applications: please use it and provide your feedback.
Feedback is welcome!
If you need help, have problems, want to leave feedback or want to provide constructive criticism, please do so here at the Groups plugin page.
Please try to solve problems there before you rate this plugin or say it doesn't work. There goes a lot of work into providing you with free quality plugins! Please appreciate that and help with your feedback. Thanks!
Follow me on Twitter for updates on this and other plugins.
On posts an pages (and custom content types) a new meta box titles Access restrictions appears. By checking Enforce read access, you can restrict access to the post to groups and users who have the groups_read_post capability. You need to assign this capability to a group and make users members of that group to allow them to see those posts.
The [groups_member] and [groups_non_member] shortcodes are used to limit visibility of content to users who are members of a group or users who are not members of a group. Multiple comma-separated groups can be specified.
Example: Limiting visibility of enclosed content to registered users.
[groups_member group="Registered"]
Only registered users can see this text.
[/groups_member]
The [groups_can] and [groups_can_not] shortcodes limit visibility of enclosed content to those users who have the capability or those who do not have it. Multiple capabilities can be given.
Example: Showing enclosed content to users who can edit_posts (standard WordPress capability).
[groups_can capability="edit_posts"]
You can see this only if you have the edit_posts capability.
[/groups_can]
Users - group membership is managed from the standard Users admin view. Users are automatically added to the Registered group. You can add multiple users to other groups here and also remove them.
Here you can:
This is where you add, remove and manage capabilities.
Capabilities can be assigned to groups and users (1). These capabilities include the standard WordPress capabilities but you can also define additional capabilities for your web-application.
Groups defines some capabilities of its own. The groups_read_post capability is used to restrict access to certain posts or pages to groups (and users) with that capability only.
(1) Assigning capabilities to users is not integrated in the user interface yet but can be done through API calls.
Administrator overrides can be turned off.
PermissionsFor each role these permissions can be set:
A convenient option is provided to delete all data that has been stored by the Groups plugin. This option is useful if you just need to start from fresh after you have been testing the plugin.
These shortcodes are used to limit the visibility of the content they enclose:
See above for examples and descriptions.
This shortcode takes the following attributes to show information about a group:
Examples:
[groups_group_info group="Registered" show="count"]
There [groups_group_info group="1" show="count" single="is one member" plural="are %d members"] in the [groups_group_info group="1" show="name"] group.
Requires: 3.0 or higher
Compatible up to: 3.3.1
Last Updated: 2012-1-17
Downloads: 1,167




