Groups configuration

By default, Swarm allows all users to see the list of user groups under the 'Groups' tab in the top bar. Users can view the members of a group, as well as their activities.

You configure the visibility of this tab with the groups configuration block in the SWARM_ROOT/data/config.php file, as in the following example:

<?php
    // this block should be a peer of 'p4'
    'groups' => array(
        'super_only' => true,
    ),

Setting the super_only option to 'true' hides the groups tab from non-admin users.