Fullscreen
[Show/Hide Right Column]

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

Fermer
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 seen 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: Marc Laporte9146 points  , Daniel Gauthier1231 points  , sylvie7387 points  , Torsten Fabricius1845 points  , briank29 points  , lindon137 điểm  , Scot Wilcoxon684 points  , mlpvolt4388 points  and system .
Page last modified on Monday 16 April, 2012 03:20:30 UTC by Marc Laporte9146 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