Fullscreen
[Show/Hide Right Column]

Display content based on the user's groups or friends.

Plugin Group

Use this Wiki Plugin to display content based on the user's groups or friends. It is similar to PluginPerm.

Use and Parameters

To use this plugin in a wiki page, use the syntax:
{GROUP(groups=>Registered|Admins, notgroups=Editors)}some content{ELSE}other content{GROUP}

Parameter Accepted values Effect Since
groups group name or list - each group name is separated with a vertical bar 'some content' will display for users in these groups (directly or by inheritance), otherwise 'other content' (after {ELSE}) will display. case sensitive!
notgroups group name or list - each group name is separated with a vertical bar Works opposite of the groups parameter 1.9.7
friends user name or list separated by vertical bar friends of these users will see 'some content', others see 'other content' if {ELSE} is used 4.0

noteNote

  • The {ELSE} part is optional.
  • The groups and notgroups parameters may be used at the same time.

Security

Use of this plugin to hide sensitive information will not prevent it from being revealed to users with permissions to view or edit the page source.

Users that have a Watch on the wiki page will receive an email with the hole wiki source, thus revealing the information regardless if they have permission to view the plugins content or not.

Trick

  • Be careful not to include groups in the admins group if you want a section to be see by the group A and the group Admins and not by the group B. If admins includes A and B, Admins will not see the section.


Contributors to this page: sylvie7160 points  , Torsten Fabricius1665 points  , briank29 points  , lindon5651 points  , Marc Laporte8171 points  , Scot Wilcoxon683 points  , mlpvolt4266 points  and system .
Page last modified on Monday 24 October, 2011 23:11:19 UTC by sylvie7160 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki