OFBiz Tutorial – Managing Security Groups

HotWax SystemsPublished: Updated:

This OFBiz tutorial is to show you how to manage your different security groups, since just about every business using the OfBiz platform 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.
    ofbiz-tutorial-managing-security-1Lg

    “Party” will be under the “Applications” Menu

  2. From the “Party Manager” Menu  click on “Security” tab.
    ofbiz-tutorial-managing-security-2Lg

    “Security” is under the “Party Manager” Menu

  3. Security Group Lists will be displayed.
  4. Click on “New Security Group” button.ofbiz-tutorial-managing-security-3Lg
  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 )
      ofbiz-tutorial-managing-security-4Lg

      An easily identifiable name and description are very helpful for later management of security groups.

  6. Click on “Update” button.ofbiz-tutorial-managing-security-5Lg

Expected Outcome

  • Added “Security Group” details will be displayed on “Security Group Lists” page.
    ofbiz-tutorial-managing-security-6

    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.
    ofbiz-tutorial-managing-security-1Lg

    “Party” will be under the “Applications” Menu

  2. From the “Party Manager” Menu click on “Security” tab.
    ofbiz-tutorial-managing-security-2Lg

    “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.
    ofbiz-tutorial-managing-security-9Lg

    We will use the “SAMPLE” id that was created in the last section of the tutorial

  5. Click on “Permissions” tab.ofbiz-tutorial-managing-security-10Lg
  6. Select permission Id from drop down in “Add Permission(Listed) to Security Group” section.
    ofbiz-tutorial-managing-security-11Lg

    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.ofbiz-tutorial-managing-security-12Lg
  8. Click on “Add” button.ofbiz-tutorial-managing-security-13Lg

Expected Outcome

  • Added permission will be displayed in “Edit Security Group Permissions” section with following details :
    • Permission Id
    • Remove
      ofbiz-tutorial-managing-security-14Lg

      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.
    ofbiz-tutorial-managing-security-1Lg

    “Party” will be under the “Applications” Menu

  2. From the “Party Manager” Menu click on “Security” tab.
    ofbiz-tutorial-managing-security-2Lg

    “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.
    ofbiz-tutorial-managing-security-9Lg

    We will use the “SAMPLE” id that was created in the first section of the tutorial

  5. Click on “User Logins” tab.ofbiz-tutorial-managing-security-18Lg
  6. Fill in following information in “Add User Login to Security Group” form :
    • User Login Id
    • From Date
      ofbiz-tutorial-managing-security-19Lg

      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.ofbiz-tutorial-managing-security-13Lg

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.

—Chris Gaughan—

chris-gaughan

Chris Gaughan is an OfBiz Designer specializing in Client Training and Support for HotWax Media.

HotWax Systems About HotWax Systems
HotWax Systems is the leading global service provider for Apache OFBiz application development, and creators of HotWax Commerce, the world’s leading open-source Unified Commerce Platform. In 2017, HotWax Systems expanded its portfolio to include a full set of consulting services and custom business solutions based on the Moqui Ecosystem of open source projects.

Comments 1

  1. Avatar for HotWax Systems

Leave a Reply

Your email address will not be published. Required fields are marked *