# Create a Custom Group

## Description

This guide provides steps to create a custom group and add the users to this group. Users included in this group get the group's access rights and permissions.

## Pre-requisites

The user must have a Program Administrator role. See the [Create User and Assign Role](https://docs.openg2p.org/1.1/guides/user-guides/assign-roles-to-users) guide.

## Steps

1. Navigate to *Settings* using the menu bar.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FMil7AdDd71UkUUtaA76r%2Fsettings-odoo%20role.PNG?alt=media&#x26;token=be47d32b-053e-4e2b-a520-a79f6f4f30b5" alt=""><figcaption></figcaption></figure>

2. Click on *Activate the developer mode.*

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2Fo6q6Xyr6eyRFfR15C4oc%2Fsettings-develpoer%20mode.png?alt=media&#x26;token=5146fac4-fe8c-4669-8735-dbaa684c97fd" alt=""><figcaption></figcaption></figure>

3. Click on the *Users and Companies* menu and navigate to *Groups*.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FW4Al0dEd5PevnlM6DRtd%2Fodoo-groups.png?alt=media&#x26;token=d6d28c08-da29-4c67-87bf-a4d5d3c91261" alt=""><figcaption></figcaption></figure>

4. Click on *Create*.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FbuIjIFQstQOcomxHNeqv%2Fodoo-create.PNG?alt=media&#x26;token=d1a545c8-38d3-444a-87df-a4f10863bd17" alt=""><figcaption></figcaption></figure>

5. Select *Application*. In the figure below, *Openg2p Module Access* was selected from the drop-down list. Add the Name.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FOD2Nu5oOd9wpxi7s4EzV%2Fgroup-application.PNG?alt=media&#x26;token=8b079d4f-8063-4a47-9536-ba89ee6bf51c" alt=""><figcaption></figcaption></figure>

6. Tick the check box *Share Group* if you want to allow users of this group to grant additional access to other users who might not be in the original group.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FIYzMnT2wLtUx0bOgYzjc%2Fgroup-share-group.PNG?alt=media&#x26;token=bdf93dbb-ce02-4695-908d-40b92024d0a7" alt=""><figcaption></figcaption></figure>

7. To add users to this group, click on *Add a Line.* A pop-up window appears to allow the selection of the users from a list. You can view and manage the users assigned to the group.

<div><figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2Fgit-blob-8588fc02b5254a1ae98b376536fa44efeb55f4d2%2Fcreate-group-users.png?alt=media" alt=""><figcaption></figcaption></figure> <figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2Fgit-blob-9b7b6ca4949f09def81b8c9c9702b447e682e5a3%2Fodoo-user.png?alt=media" alt=""><figcaption></figcaption></figure></div>

8. Select *OpenG2P ModuleAccess / Administrator* as *Group Name* in the *Inherited* tab and click on *Add a Line.* A pop-up window shows a list of groups to select from. This group will get the access rights of the *OpenG2P ModuleAccess / Administrator* group, and the users added to this group will be automatically added to the *OpenG2P ModuleAccess / Administrator* group.

<div><figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FC0TrUl40owsp05MiTl52%2Fgroup-inherited.PNG?alt=media&#x26;token=90737bc3-b78b-4b9d-bfab-f1ca7e4ad416" alt=""><figcaption></figcaption></figure> <figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2Fgit-blob-829a1d68f1ac69b07f4391ca416b02f952073d7e%2Finherits.png?alt=media" alt=""><figcaption></figcaption></figure></div>

9. Select the *Menus* tab and click on *Add a Line*. A pop-up window shows a list of menus to select from. These menu options provide access to multiple modules and their functionality.

<div><figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FGq10vkiHDMlK97R8xfIK%2Fodoo-menu-addline.png?alt=media&#x26;token=08dcd4b1-f0b4-4d31-8608-a87dcfcdfa94" alt=""><figcaption></figcaption></figure> <figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FMrSA32Q8kPV4oAprHzgS%2Fodoo-menu.PNG?alt=media&#x26;token=4817d755-e37f-4357-8b18-a8411910c3cd" alt=""><figcaption></figcaption></figure></div>

10. Select the *Views* tab and click on *Add a Line*. A pop-up window shows the list of views to select from. A view represents various screens and forms used in the user interface.

<div><figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FNdq16vNQuzviaI7UKM8P%2Fodoo-view-addline.png?alt=media&#x26;token=3f57acc1-62e2-4a18-821e-206169e740d5" alt=""><figcaption></figcaption></figure> <figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FDUDfDgMYfLVwBz7YfGaX%2Fodoo-views.PNG?alt=media&#x26;token=e3743d3f-3cf4-4ccc-a568-779000571b46" alt=""><figcaption></figcaption></figure></div>

11. Select the *Access Rights* tab and click on *Add a Line.* Enter the name, and select the model from the drop-down. Tick one or more checkboxes for the relevant access options - *None*, *Read Access*, *Write Access*, *Create Access*, and *Delete Access*.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2Flc4GjYPtoeqOzMyAWciR%2FCreate-group-access-rights.PNG?alt=media&#x26;token=88488808-e215-497a-86f9-d091fd19bc58" alt=""><figcaption></figcaption></figure>

12. Select the *Record Rules* tab. This tab allows you to set up certain rules and access rights that can be configured within specific modules.
13. Optionally select the *Notes* tab to add any additional notes or remarks about the setup or group's configuration.
14. Click on *Save.* A new group gets created.
