BlockGroupCreation

Summary: How can I only permit writing to existing groups?
Version: 201803019
Prerequisites: none
Status: Mantained
Maintainer: CarlosAB
License: GPL
Users: (view? / edit)

Questions answered by this recipe

How can I only permit writing to existing groups?

Description

Block the creation of new groups

Installation

Download and include on config.php this recipe with this:

include_once('cookboo/blockgroupcreation.php');

Configuration

Once the recipe is loaded in config.php, you can use the following options to change the recipe behavior.

You can include these options before or after the recipe is included in config.php.
$EnableGroupCreation = 1;
$EnableGroupCreationRedir = 0;
$GroupCreationRedirPage = "\$SiteGroup.NoNewGroups";

Internationalization

The following strings can be translated in an XLPage:

We have this string for internationalization:

$[Creation of new Groups are blocked by the admin]

Usage

Once loaded the recipe will take care for you of any attempt to create a new group and then block it.

Notes

Perhaps create a function to test if the group exists and create the recipe around it.

To do / some day / maybe

I believe it is fairly complete, perhaps I'll try to achieve the golas set on the Notes section of this page.

Change log / Release notes

201803019 - 1st release, be gentle - blockgroupcreation-20180319.phpΔ

See also

  1. Administration
  2. SystemTools

Contributors

CarlosAB March 19, 2018, at 05:27 PM]]

Comments

See discussion at BlockGroupCreation-Talk?

User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.