Step 4: Creating an ACL with a Firm Code rule set (with Container assignment)

Based on the ACL with Container-Ruleset created in step 2 (for 130-729831162), this section defines a rule set for a Firm Code 6000010 in this container.

1.Importing the ACL.

> cmu32 --import-acl -f 02_ACL_Container.json

 

SUCCESS: License Access Permissions (Access Control List) were imported from: 02_ACL_Container.json

The result can be checked on the CodeMeter WebAdmin interface. It may be necessary to reload the page in the browser.

2.Adding a rule set to a Firm Code 6000010 in CodeMeter WebAdmin to container 130-729831162 and clicking the "Apply" button.

3.Exporting the ACL using cmu:

> cmu32 --export-acl -f04_ACL_Container_FC.json

 

SUCCESS: License Access Permissions (Access Control List) were exported to: 04_ACL_Container_FC.json

Output the list result (line numbers added and default rules replaced):

> type f04_ACL_Container_FC.json

1 {

2   "AccessControlList": {

3     "ContainerRulesets": [

4     {

5       "FcRulesets": [

6       {

7         "PcRulesets": [],

8         "Rules": [<Default-Rule>],

9         "Text": "",

10         "Value": 6000010,

11         "__type": "FcRuleset"

12       }],

13       "Rules": [<Default-Rule>],

14       "Text": "FB52232",

15       "Value": "130-729831162",

16       "__type": "ContainerRuleset"

17     }],

18     "Rules": [<Default-Rule>],

19     "__type": "AccessControlList"

20   },

21   "Enabled": true,

22   "GroupsMaximumNumber": 10000,

23   "UsersMaximumNumber": 10000

24 }

Lines 3-17 show entries for the defined container rule set. Within the area is also the definition of the single Firm Code rule set (lines 6-17).