---
title: How to Manage Security Groups in OFBiz | Tutorial | HotWax
description: Learn how to manage security groups in OFBiz. This tutorial by HotWax Systems covers how to create new groups, assign permissions, and add users.
---

[Apache OFBiz Tutorials ](https://www.hotwaxsystems.com/apache-ofbiz-tutorials)

# [How to Manage Security Groups in OFBiz | Tutorial | HotWax](https://www.hotwaxsystems.com/apache-ofbiz-tutorials/ofbiz/ofbiz-tutorials/ofbiz-tutorial-managing-security-groups)

 Written by [HotWax Systems](https://www.hotwaxsystems.com/apache-ofbiz-tutorials/author/hotwax-systems) | May 09, 2011

This OFBiz tutorial is to show you how to manage your different security groups, since just about every business using the [OfBiz platform](https://www.hotwaxsystems.com/ofbiz-references) will have a need to set up different security groups within the system.  This allows users to be assigned to specific security groups which can only access the areas of the back-end that are pertinent to their jobs.

To create or edit security groups, the user must be an administrator within the system.

### Create New Security Group

#### Prerequisite Data

- None

#### Execution Steps

1. Go to “Party” component from the “Applications” Menu.
   
   <https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-1Lg1-3.png>
   
   “Party” will be under the “Applications” Menu
2. From the “Party Manager” Menu  click on “Security” tab.
   
   <https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-2Lg-3.png>
   
   “Security” is under the “Party Manager” Menu
3. Security Group Lists will be displayed.
4. Click on “New Security Group” button.<https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-3Lg-3.png>
5. Fill in following information in “Edit Security Group” form : 
     - Security Group Id ( Enter unique Id for creating new security group )
     - Description ( Enter description about the security group so that it can be easily distinguishable )
       
       <https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-4Lg-3.png>
       
       An easily identifiable name and description are very helpful for later management of security groups.
6. Click on “Update” button.<https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-5Lg-3.png>

#### Expected Outcome

- Added “Security Group” details will be displayed on “Security Group Lists” page.
  
  <https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-6-3.png>
  
  SAMPLE is now an option to edit in the list of security groups

### Assign Permissions to Security Group

#### Prerequisite Data

- Security Permissions should exists in system.
- Security Group should exist in system.

#### Execution Steps

1. Go to “Party” component from the “Applications” Menu.
   
   <https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-1Lg1-3.png>
   
   “Party” will be under the “Applications” Menu
2. From the “Party Manager” Menu click on “Security” tab.
   
   <https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-2Lg-3.png>
   
   “Security” is under the “Party Manager” Menu
3. Security Group Lists will be displayed.
4. Select a security group by clicking on “Security Group Id” button.
   
   <https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-9Lg-3.png>
   
   We will use the “SAMPLE” id that was created in the last section of the tutorial
5. Click on “Permissions” tab.<https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-10Lg-3.png>
6. Select permission Id from drop down in “Add Permission(Listed) to Security Group” section.
   
   <https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-11Lg-3.png>
   
   There are a number of permissions that can be set up and assigned to security groups
7. Permission can be added manually by filling in “Permission Id” in “Add Permission (manually) to Security Group” section.<https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-12Lg-3.png>
8. Click on “Add” button.<https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-13Lg-3.png>

#### Expected Outcome

- Added permission will be displayed in “Edit Security Group Permissions” section with following details : 
    - Permission Id
    - Remove
      
      <https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-14Lg-3.png>
      
      You can click the “Remove” button on this screen if you need to remove permissions

### Add User(s) to Security Group

#### Prerequisite Data

- Security Group should exist in system.
- User Login(Users) should exist in system.

#### Execution Steps

1. Go to “Party” component from the “Applications” Menu.
   
   <https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-1Lg1-3.png>
   
   “Party” will be under the “Applications” Menu
2. From the “Party Manager” Menu click on “Security” tab.
   
   <https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-2Lg-3.png>
   
   “Security” is under the “Party Manager” Menu
3. Security Group Lists will be displayed.
4. Select a security group by clicking on “Security Group Id” button.
   
   <https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-9Lg-3.png>
   
   We will use the “SAMPLE” id that was created in the first section of the tutorial
5. Click on “User Logins” tab.<https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-18Lg-3.png>
6. Fill in following information in “Add User Login to Security Group” form : 
     - User Login Id
     - From Date
       
       <https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-19Lg-3.png>
       
       Note: a “Thru Date” is usually not set unless the user will only have temporary access to the security group
7. Click on “Add” button.<https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-13Lg-3.png>

#### Expected Outcome

- - Added user login details will be displayed on “Userlogins for Security Group” page with following details : 
          - User Login Id
          - From Date
          - Thru Date (If exist)
          - Party ( Party associated with user login )
          - Remove 
                  - Click on “Remove” button to remove user login from Security Group.
          - Update 
                  - Click on “Remove” button to update user login for Security Group.

<https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/ofbiz-tutorial-managing-security-21Lg-3.png>

—Chris Gaughan—

<https://www.hotwaxsystems.com/hubfs/Imported_Blog_Media/chris-gaughan-Aug-04-2023-02-53-25-6224-PM.png>

Chris Gaughan is an OfBiz Designer specializing in Client Training and Support for [HotWax Media](https://www.hotwaxsystems.com).

[View full post](https://www.hotwaxsystems.com/apache-ofbiz-tutorials/ofbiz/ofbiz-tutorials/ofbiz-tutorial-managing-security-groups)

```json
{
  "@context" : "http://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "HotWax Systems"
  },
  "dateModified" : "2026-03-30T13:51:35.341Z",
  "datePublished" : "2011-05-09T06:00:00Z",
  "headline" : "OFBiz Tutorial – Managing Security Groups",
  "image" : {
    "@type" : "ImageObject",
    "height" : 406,
    "url" : "https://2265943.fs1.hubspotusercontent-na1.net/hubfs/2265943/Imported_Blog_Media/ofbiz-tutorial-managing-security-1Lg1-3.png",
    "width" : 218
  },
  "mainEntityOfPage" : "https://www.hotwaxsystems.com/apache-ofbiz-tutorials/ofbiz/ofbiz-tutorials/ofbiz-tutorial-managing-security-groups",
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "height" : 60,
      "url" : "/hs/hsstatic/content_shared_assets/static-1.4092/img/default-amp-logo.png",
      "width" : 60
    },
    "name" : "Apache OFBiz Tutorials"
  }
}
```