RenderGroupInfo
Render the group definitions for the standard groups

%REVINFO{ " $date - $hour:$min " rev=" IF{ "%NATMAXREV%!=%CURREV%" then="%CURREV%" }: Syntax error in '%NATMAXREV%!=%CURREV%' at '%NATMAXREV%!=%CURREV%' " topic="Applications/Support.RenderGroupInfo" }% | Version 1 |

Documentation

This function displays the standard groups defined for access control to a web. They are:
  • <web>AdminGroup - users that can administer the web
  • <web>RwGroup - users that can change the web
  • <web>RoGroup - users that can see the web

Note Topic access in the web can be allowed, even when web read access is denied.

Note Preferences of a parent web apply in a child web, unless redefined.

Parameters
  • theWeb - the web for which the group info is displayed. Default: BASEWEB

Implementation

%STARTINCLUDE%
---+++ Group info for %theWeb{ default="%BASEWEB%" }% web
   * *[[%USERSWEB%.%theWeb{ default="%BASEWEB%" }%RoGroup]]:* %GROUPINFO{ "%theWeb%RoGroup" }%
   * *[[%USERSWEB%.%theWeb{ default="%BASEWEB%" }%RwGroup]]*: %GROUPINFO{ "%theWeb%RwGroup" }%
   * *[[%USERSWEB%.%theWeb{ default="%BASEWEB%" }%AdminGroup]]:* %GROUPINFO{ "%theWeb%AdminGroup" }%
   * *[[%USERSWEB%.WebAdminGroup]]*: %GROUPINFO{ "WebAdminGroup" }%
   * *[[%USERSWEB%.AdminGroup]]*: %GROUPINFO{ "AdminGroup" }%
%ENDSECTION{ "group_info" }%
%STOPINCLUDE%

Test

Group info for Applications/Support web

Group info for Applications web

Copyright

© 2015 Your Name

This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. For more details read the LICENSE.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by law; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback