Groups
------

This page is for groups and roles management.

.. warning::

   In big groups, you can encounter a PHP fatal error. When it happened you can adapt your PHP configuration with the next value "pcre.backtrack_limit=10000000"

Click on Groups and roles icon on FusionDirectory main page

.. image:: images/core-groups-and-roles-icon.png
   :alt: Picture of Groups and roles icon in FusionDirectory

You will be directed to Groups and roles management page

.. image:: images/core-groups-management-page.png
   :alt: Picture of Groups and roles management page in FusionDirectory

Click on one group entry in order to access this group's information overview  
   
.. image:: images/core-group-overview.png
   :alt: Picture of group information overview in FusionDirectory

On the previous page, the following actions are available:

**Create Template Group**: Create a group template

.. image:: images/core-create-template-group.png
   :alt: Picture of create group template menu in FusionDirectory

**Create Template Role**: Create a role template

.. image:: images/core-create-role-template.png
   :alt: Picture of create role template menu in FusionDirectory
   
**Create POSIX Group**: Create a POSIX group template

.. image:: images/core-create-posix-group-template.png
   :alt: Picture of create POSIX group template menu in FusionDirectory

**Create From Template Role**: Create a role using a template

.. image:: images/core-create-role-template.png
   :alt: Picture of create role template menu in FusionDirectory

**Create From Template POSIX Group**: Create a POSIX group using a template

.. image:: images/core-create-posix-group-template.png
   :alt: Picture of create POSIX group template menu in FusionDirectory
   
Of course, you can also create groups, roles and POSIX groups from scratch, by clicking on Actions--> Create --> Group, Actions--> Create --> Roles, Actions--> Create --> POSIX Groups   

.. image:: images/core-create-from-scratch.png
   :alt: Picture of create groups menu in FusionDirectory
   
**Edit**: Edit an existing group

.. image:: images/core-action-edit.png
   :alt: Picture of edit user menu in FusionDirectory

**Remove**: Delete an existing group

.. image:: images/core-action-remove.png
   :alt: Picture of remove user menu in FusionDirectory  

**Export list**

   - PDF: Export the current object list as a PDF document
   - CSV: Export the current object list as a CSV file

.. image:: images/core-action-export.png
   :alt: Picture of export menu in FusionDirectory
      
**Copy**: Copy groups

.. image:: images/core-action-copy.png
   :alt: Picture of copy menu in FusionDirectory
   
**Cut**: Cut groups to move them

.. image:: images/core-action-cut.png
   :alt: Picture of cut menu in FusionDirectory
   
**Paste**: Paste copied or cut groups to the current base

.. image:: images/core-action-paste.png
   :alt: Picture of paste menu in FusionDirectory
   
**Restore snapshots**: Restore snapshots of groups

.. image:: images/core-action-restore-snapshots.png
   :alt: Picture of restore snapshots menu in FusionDirectory      
    
