Restrict content by group membership


Content Restriction, Frontend Access Control, Content Protection, Access & Security

The Black Sheep Research Plugin for selecting content by user groups in Joomla

This plugin enables the portions of text to be displayed on account of the current user being a member of specified group(s). This is achieved by surrounding the relevant text with, for example:

{usergroup 5 || 7}...{/usergroup}


{usergroup editor}...{/usergroup}


{usergroup !8}...{/usergroup}

You can specify as many groups as you wish, and they are separated by ||. By default the separator is interpreted as OR. The first group can be preceded by ! which means that the user must NOT be a member of any of the listed groups for the enclosed text to be displayed.

Note that if you want to show something to all logged in users apart from a specific group, you also need to exclude guest as in:

{usergroup ! mygroup || guest}...{/usergroup}

You can use group numbers or group names. If names are used, they must be the actual names in use on your site, which may vary according to the language in use.

The plugin will honour a request referring to public (group 1) but it has no point, since it permits (or refuses) everyone.

Paid download


By Martin Brampton
Introducing the all-new Remository - the file repository created for Joomla 4.x and 5.x CMS, that's still compatible with 3.10.x. If you have large volumes of information you need to securely store, annotate and share at super-fast speeds, you'll love the latest version of Remository, With its fully updated user interface, the new Remository offers total compatibility with both Joomla 4.x and Jo...


By Martin Brampton
Development Tools
A simple way to build REST style services within Joomla. Restful is a plugin that provides the basic logic. To build a service, you create a plugin in the folder "restful". Your plugin can specify multiple combinations of operations (such as GET, POST, DELETE) and URIs (such as /restful/object). The Restful plugin triggers your plugin(s) with the event onRestfulPaths. Your plugin can then provide...

Restrict content by group membership

Martin Brampton
Last updated:
Nov 22 2022
1 year ago
Date added:
Nov 19 2022
GPLv2 or later
Free download
J3 J4

Uses Joomla! Update System