Based on the empty ACL created in step 1, a rule is next created for a CmContainer. Exemplary with the serial number 130-729831162. The state after step 1 can be established by importing the created (empty) ACL.

1.Importing the empty ACL.

> cmu32 --import-acl -f01_ACL_Empty.json

 

SUCCESS: License Access Permissions (Access Control List) were imported from: 01_ACL_Empty.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 new container in the specific rule set, e.g. 130-729831162, and clicking the "Apply" button.

step2_01

Exportng the ACL using cmu:

> cmu32 --export-acl -f02_ACL_Container.json

 

SUCCESS: License Access Permissions (Access Control List) were exported to: 02_ACL_Container.json

Output the list result with cmu (line numbers added):

> type 02_ACL_Container.json

 

1 {

2   "AccessControlList": {

3   "ContainerRulesets": [

4   {

5   "FcRulesets": [

6 ],

7   "Rules": [

8   {

9   "Action": "Allow",

10   "Allocated": 0,

11   "Limit": 0,

12   "Reserved": 0,

13   "RuleId": 0,

14   "Type": "Default",

15   "Value": "",

16   "__type": "Rule"

17 }

18 ],

19   "Text": "FB52232",

20   "Value": "130-729831162",

21   "__type": "ContainerRuleset"

22 }

23 ],

24   "Rules": [

25   {

26   "Action": "Allow",

27   "Allocated": 0,

28   "Limit": 0,

29   "Reserved": 0,

30   "RuleId": 0,

31   "Type": "Default",

32   "Value": "",

33   "__type": "Rule"

34 }

35 ],

36   "__type": "AccessControlList"

37 },

38   "Enabled": true,

39   "GroupsMaximumNumber": 10000,

40   "UsersMaximumNumber": 10000

41 }

The rule set defined in CodeMeter WebAdmin is part of the ContainerRulesets (line 3-23).
Following is a slightly differently formatted representation:

3   "ContainerRulesets": [

4   {

5     "FcRulesets": [],

6    

7     "Rules": [

8     {

9       "Action": "Allow",

10       "Allocated": 0,

11       "Limit": 0,

12       "Reserved": 0,

13       "RuleId": 0,

14       "Type": "Default",

15       "Value": "",

16       "__type": "Rule"

17     }],

18    

19     "Text": "FB52232",

20     "Value": "130-729831162",

21     "__type": "ContainerRuleset"

22   }],

23  

The snippet shows:

No further specialization exists for this CmContainer at Firm Code level (list in line 5 is empty).

No rule has been defined. Lines 7-17 contain only the Default rule that is always present.

The name of the container is FB52232 (Key "Text", line 19).

The serial number is 130-729831162 (Key "Value", line 20).

It is a container object (Key "__type", line 21)