com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Getting Permission Details of a Role

Description

In an organization an individual is associated a with set of responsibilities based on their role. In WSO2 EMM you are able to configure permissions based on the responsibilities carried out by a role. Therefore if you wish to retrieve the permission details of a role, you can do so using the REST API given below.

Resource Path/permissions
URL/mdm-admin/roles/permissions?rolename={rolename}
HTTP MethodGET
Request/Response Formatapplication/json
cURL command
curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer <EMM_API_TOKEN>" -k -v https://<EMM_HOST>:<EMM_HTTPS_PORT>/mdm-admin/roles/permissions?rolename={rolename}
  • For more information on how to generate the <EMM_API_TOKEN>, see Generating the EMM API Token.
  • By default, <EMM_HOST> is localhost. However, if you are using a public IP, the respective IP address or domain needs to be specified.
  • By default, <EMM_HTTPS_PORT> has been set to 9443. However, if the port offset has been incremented by n, the default port value needs to be incremented by n.
  • Provide the name of the role you wish to get the permission details as the value for {rolename}.

Example:

curl -X GET -H "Content-Type: application/json" -H "Authorization: Bearer 33392fb365b3ac693b405b565ddc8a3a" -k -v https://localhost:9443/mdm-admin/roles/permissions?rolename=marketing
 Sample output
> GET /mdm-admin/roles/permissions?rolename=marketing HTTP/1.1
> Host: localhost:9443
> User-Agent: curl/7.43.0
> Accept: */*
> Content-Type: application/json
> Authorization: Bearer 0f963270d06e0859dc8fabeb2b4fa7d1
> 
< HTTP/1.1 200 OK
< Cache-Control: private
< Expires: Thu, 01 Jan 1970 05:30:00 IST
< Date: Sun, 06 Mar 2016 12:40:18 GMT
< Content-Type: application/json
< Transfer-Encoding: chunked
< Server: WSO2 Carbon Server
< 
{"statusCode":200,"messageFromServer":"All permissions retrieved","responseContent":{"resourcePath":"/permission/","displayName":"All Permissions","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt","displayName":"device-mgt","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/admin-device-access","displayName":"admin-device-access","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android","displayName":"android","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/android/devices","displayName":"devices","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/android/devices/enroll","displayName":"enroll","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/devices/list","displayName":"list","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/devices/update","displayName":"update","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/devices/update-app","displayName":"update-app","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/devices/view","displayName":"view","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/android/license","displayName":"license","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/android/license/view","displayName":"view","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/android/operations","displayName":"operations","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/android/operations/application-list","displayName":"application-list","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/blacklist-applications","displayName":"blacklist-applications","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/camera","displayName":"camera","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/change-lock-code","displayName":"change-lock-code","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/clear-password","displayName":"clear-password","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/device-info","displayName":"device-info","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/disenroll","displayName":"disenroll","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/encrypt","displayName":"encrypt","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/enterprise-wipe","displayName":"enterprise-wipe","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/install-application","displayName":"install-application","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/location","displayName":"location","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/lock","displayName":"lock","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/mute","displayName":"mute","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/notification","displayName":"notification","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/password-policy","displayName":"password-policy","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/poll","displayName":"poll","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/reboot-device","displayName":"reboot-device","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/ring-device","displayName":"ring-device","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/uninstall-application","displayName":"uninstall-application","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/upgrade-firmware","displayName":"upgrade-firmware","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/webclip","displayName":"webclip","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/wifi","displayName":"wifi","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/operations/wipe-data","displayName":"wipe-data","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/android/policies","displayName":"policies","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/android/policies/view","displayName":"view","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/android/tenant","displayName":"tenant","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/android/tenant/configuration","displayName":"configuration","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/android/tenant/configuration/modify","displayName":"modify","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/android/tenant/configuration/view","displayName":"view","isSelected":false,"nodeList":[]}]}]}]},{"resourcePath":"/permission/admin/device-mgt/devices","displayName":"devices","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/devices/count","displayName":"count","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/devices/list","displayName":"list","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/devices/types","displayName":"types","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/devices/view","displayName":"view","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/emm-admin","displayName":"Device Management Admin","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/emm-admin/dashboard","displayName":"Dashboard","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/emm-admin/dashboard/view","displayName":"View Dashboard","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/emm-admin/devices","displayName":"Devices","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/emm-admin/devices/list","displayName":"List All Devices","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/emm-admin/devices/operation","displayName":"Perform Operation on Any Device","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/emm-admin/platform-configs","displayName":"Platform Configurations","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/emm-admin/platform-configs/view","displayName":"View Configurations","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/emm-admin/policies","displayName":"Policy","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/emm-admin/policies/add","displayName":"Add Policy","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/emm-admin/policies/edit","displayName":"Edit Policy","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/emm-admin/policies/list","displayName":"List Policy","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/emm-admin/policies/priority","displayName":"Policy Priority","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/emm-admin/policies/remove","displayName":"Remove Policy","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/emm-admin/roles","displayName":"Roles","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/emm-admin/roles/add","displayName":"Add New Roles","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/emm-admin/roles/invite","displayName":"Invite Roles","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/emm-admin/roles/list","displayName":"List Roles","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/emm-admin/roles/permission","displayName":"Update Role Permission","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/emm-admin/roles/remove","displayName":"Remove Roles","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/emm-admin/users","displayName":"Users","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/emm-admin/users/add","displayName":"Add New Users","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/emm-admin/users/invite","displayName":"Invite Users","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/emm-admin/users/list","displayName":"List Users","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/emm-admin/users/remove","displayName":"Remove Users","isSelected":false,"nodeList":[]}]}]},{"resourcePath":"/permission/admin/device-mgt/features","displayName":"features","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/features/view","displayName":"view","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/notifications","displayName":"notifications","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/notifications/add","displayName":"add","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/notifications/view","displayName":"view","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/operations","displayName":"operations","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/operations/add","displayName":"add","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/operations/application","displayName":"application","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/operations/application/install","displayName":"install","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/operations/application/uninstall","displayName":"uninstall","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/operations/application/view","displayName":"view","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/operations/view","displayName":"view","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/policies","displayName":"policies","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/policies/add","displayName":"add","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/policies/bulk-remove","displayName":"bulk-remove","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/policies/compliance","displayName":"compliance","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/policies/delete","displayName":"delete","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/policies/task","displayName":"task","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/policies/update","displayName":"update","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/policies/view","displayName":"view","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/profiles","displayName":"profiles","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/profiles/add","displayName":"add","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/profiles/delete","displayName":"delete","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/profiles/update","displayName":"update","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/roles","displayName":"roles","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/roles/add","displayName":"add","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/roles/delete","displayName":"delete","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/roles/update","displayName":"update","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/tenant","displayName":"tenant","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/tenant/configuration","displayName":"configuration","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/tenant/configuration/modify","displayName":"modify","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/tenant/configuration/view","displayName":"view","isSelected":false,"nodeList":[]}]}]},{"resourcePath":"/permission/admin/device-mgt/user","displayName":"Device Management User","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/user/devices","displayName":"Devices","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/user/devices/list","displayName":"List Individual Devices","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/user/devices/operation","displayName":"Perform Operation on an Individual Device","isSelected":false,"nodeList":[]}]}]},{"resourcePath":"/permission/admin/device-mgt/users","displayName":"users","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/users/add","displayName":"add","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/users/change-password","displayName":"change-password","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/users/delete","displayName":"delete","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/users/devices","displayName":"devices","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/users/invite","displayName":"invite","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/users/reset-password","displayName":"reset-password","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/users/roles","displayName":"roles","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/users/update","displayName":"update","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/users/view","displayName":"view","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/windows","displayName":"windows","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/windows/devices","displayName":"devices","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/windows/devices/getBST","displayName":"getBST","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/windows/devices/getPolicy","displayName":"getPolicy","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/windows/devices/requestSecurityToken","displayName":"requestSecurityToken","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/windows/license","displayName":"license","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/windows/license/view","displayName":"view","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/windows/operations","displayName":"operations","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/windows/operations/disenroll","displayName":"disenroll","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/windows/oper* Connection #0 to host localhost left intact
ations/lock","displayName":"lock","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/windows/operations/lock-reset","displayName":"lock-reset","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/windows/operations/reboot-device","displayName":"reboot-device","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/windows/operations/ring-device","displayName":"ring-device","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/windows/operations/upgrade-firmware","displayName":"upgrade-firmware","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/windows/operations/wipe-data","displayName":"wipe-data","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/windows/policies","displayName":"policies","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/windows/policies/view","displayName":"view","isSelected":false,"nodeList":[]}]},{"resourcePath":"/permission/admin/device-mgt/windows/tenant","displayName":"tenant","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/windows/tenant/configuration","displayName":"configuration","isSelected":false,"nodeList":[{"resourcePath":"/permission/admin/device-mgt/windows/tenant/configuration/modify","displayName":"modify","isSelected":false,"nodeList":[]},{"resourcePath":"/permission/admin/device-mgt/windows/tenant/configuration/view","displayName":"view","isSelected":false,"nodeList":[]}]}]}]}]},{"resourcePath":"/permission/admin/login","displayName":"Login","isSelected":false,"nodeList":[]}]}}
Sample JSON Output Definition 
{
  "statusCode": 200,
  "messageFromServer": "All permissions retrieved",
  "responseContent": {
    "resourcePath": "/permission/",
    "displayName": "All Permissions",
    "isSelected": false,
    "nodeList": [
      {
        "resourcePath": "/permission/admin/device-mgt",
        "displayName": "device-mgt",
        "isSelected": false,
        "nodeList": [
          {
            "resourcePath": "/permission/admin/device-mgt/admin-device-access",
            "displayName": "admin-device-access",
            "isSelected": false,
            "nodeList": [
              
            ]
          },
          {
            "resourcePath": "/permission/admin/device-mgt/android",
            "displayName": "android",
            "isSelected": false,
            "nodeList": [
              {
                "resourcePath": "/permission/admin/device-mgt/android/devices",
                "displayName": "devices",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/devices/enroll",
                    "displayName": "enroll",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/devices/list",
                    "displayName": "list",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/devices/update",
                    "displayName": "update",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/devices/update-app",
                    "displayName": "update-app",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/devices/view",
                    "displayName": "view",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  }
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/android/license",
                "displayName": "license",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/license/view",
                    "displayName": "view",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  }
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/android/operations",
                "displayName": "operations",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/application-list",
                    "displayName": "application-list",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/blacklist-applications",
                    "displayName": "blacklist-applications",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/camera",
                    "displayName": "camera",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/change-lock-code",
                    "displayName": "change-lock-code",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/clear-password",
                    "displayName": "clear-password",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/device-info",
                    "displayName": "device-info",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/disenroll",
                    "displayName": "disenroll",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/encrypt",
                    "displayName": "encrypt",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/enterprise-wipe",
                    "displayName": "enterprise-wipe",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/install-application",
                    "displayName": "install-application",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/location",
                    "displayName": "location",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/lock",
                    "displayName": "lock",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/mute",
                    "displayName": "mute",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/notification",
                    "displayName": "notification",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/password-policy",
                    "displayName": "password-policy",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/poll",
                    "displayName": "poll",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/reboot-device",
                    "displayName": "reboot-device",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/ring-device",
                    "displayName": "ring-device",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/uninstall-application",
                    "displayName": "uninstall-application",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/upgrade-firmware",
                    "displayName": "upgrade-firmware",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/webclip",
                    "displayName": "webclip",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/wifi",
                    "displayName": "wifi",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/operations/wipe-data",
                    "displayName": "wipe-data",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  }
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/android/policies",
                "displayName": "policies",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/policies/view",
                    "displayName": "view",
                    "isSelected": true,
                    "nodeList": [
                      
                    ]
                  }
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/android/tenant",
                "displayName": "tenant",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/android/tenant/configuration",
                    "displayName": "configuration",
                    "isSelected": false,
                    "nodeList": [
                      {
                        "resourcePath": "/permission/admin/device-mgt/android/tenant/configuration/modify",
                        "displayName": "modify",
                        "isSelected": false,
                        "nodeList": [
                          
                        ]
                      },
                      {
                        "resourcePath": "/permission/admin/device-mgt/android/tenant/configuration/view",
                        "displayName": "view",
                        "isSelected": true,
                        "nodeList": [
                          
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          },
          {
            "resourcePath": "/permission/admin/device-mgt/devices",
            "displayName": "devices",
            "isSelected": false,
            "nodeList": [
              {
                "resourcePath": "/permission/admin/device-mgt/devices/count",
                "displayName": "count",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/devices/list",
                "displayName": "list",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/devices/types",
                "displayName": "types",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/devices/view",
                "displayName": "view",
                "isSelected": true,
                "nodeList": [
                  
                ]
              }
            ]
          },
          {
            "resourcePath": "/permission/admin/device-mgt/emm-admin",
            "displayName": "Device Management Admin",
            "isSelected": false,
            "nodeList": [
              {
                "resourcePath": "/permission/admin/device-mgt/emm-admin/dashboard",
                "displayName": "Dashboard",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/emm-admin/dashboard/view",
                    "displayName": "View Dashboard",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  }
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/emm-admin/devices",
                "displayName": "Devices",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/emm-admin/devices/list",
                    "displayName": "List All Devices",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/emm-admin/devices/operation",
                    "displayName": "Perform Operation on Any Device",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  }
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/emm-admin/platform-configs",
                "displayName": "Platform Configurations",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/emm-admin/platform-configs/view",
                    "displayName": "View Configurations",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  }
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/emm-admin/policies",
                "displayName": "Policy",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/emm-admin/policies/add",
                    "displayName": "Add Policy",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/emm-admin/policies/edit",
                    "displayName": "Edit Policy",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/emm-admin/policies/list",
                    "displayName": "List Policy",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/emm-admin/policies/priority",
                    "displayName": "Policy Priority",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/emm-admin/policies/remove",
                    "displayName": "Remove Policy",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  }
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/emm-admin/roles",
                "displayName": "Roles",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/emm-admin/roles/add",
                    "displayName": "Add New Roles",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/emm-admin/roles/invite",
                    "displayName": "Invite Roles",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/emm-admin/roles/list",
                    "displayName": "List Roles",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/emm-admin/roles/permission",
                    "displayName": "Update Role Permission",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/emm-admin/roles/remove",
                    "displayName": "Remove Roles",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  }
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/emm-admin/users",
                "displayName": "Users",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/emm-admin/users/add",
                    "displayName": "Add New Users",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/emm-admin/users/invite",
                    "displayName": "Invite Users",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/emm-admin/users/list",
                    "displayName": "List Users",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/emm-admin/users/remove",
                    "displayName": "Remove Users",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  }
                ]
              }
            ]
          },
          {
            "resourcePath": "/permission/admin/device-mgt/features",
            "displayName": "features",
            "isSelected": false,
            "nodeList": [
              {
                "resourcePath": "/permission/admin/device-mgt/features/view",
                "displayName": "view",
                "isSelected": true,
                "nodeList": [
                  
                ]
              }
            ]
          },
          {
            "resourcePath": "/permission/admin/device-mgt/notifications",
            "displayName": "notifications",
            "isSelected": false,
            "nodeList": [
              {
                "resourcePath": "/permission/admin/device-mgt/notifications/add",
                "displayName": "add",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/notifications/view",
                "displayName": "view",
                "isSelected": true,
                "nodeList": [
                  
                ]
              }
            ]
          },
          {
            "resourcePath": "/permission/admin/device-mgt/operations",
            "displayName": "operations",
            "isSelected": false,
            "nodeList": [
              {
                "resourcePath": "/permission/admin/device-mgt/operations/add",
                "displayName": "add",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/operations/application",
                "displayName": "application",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/operations/application/install",
                    "displayName": "install",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/operations/application/uninstall",
                    "displayName": "uninstall",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/operations/application/view",
                    "displayName": "view",
                    "isSelected": true,
                    "nodeList": [
                      
                    ]
                  }
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/operations/view",
                "displayName": "view",
                "isSelected": true,
                "nodeList": [
                  
                ]
              }
            ]
          },
          {
            "resourcePath": "/permission/admin/device-mgt/policies",
            "displayName": "policies",
            "isSelected": false,
            "nodeList": [
              {
                "resourcePath": "/permission/admin/device-mgt/policies/add",
                "displayName": "add",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/policies/bulk-remove",
                "displayName": "bulk-remove",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/policies/compliance",
                "displayName": "compliance",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/policies/delete",
                "displayName": "delete",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/policies/task",
                "displayName": "task",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/policies/update",
                "displayName": "update",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/policies/view",
                "displayName": "view",
                "isSelected": false,
                "nodeList": [
                  
                ]
              }
            ]
          },
          {
            "resourcePath": "/permission/admin/device-mgt/profiles",
            "displayName": "profiles",
            "isSelected": false,
            "nodeList": [
              {
                "resourcePath": "/permission/admin/device-mgt/profiles/add",
                "displayName": "add",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/profiles/delete",
                "displayName": "delete",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/profiles/update",
                "displayName": "update",
                "isSelected": false,
                "nodeList": [
                  
                ]
              }
            ]
          },
          {
            "resourcePath": "/permission/admin/device-mgt/roles",
            "displayName": "roles",
            "isSelected": false,
            "nodeList": [
              {
                "resourcePath": "/permission/admin/device-mgt/roles/add",
                "displayName": "add",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/roles/delete",
                "displayName": "delete",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/roles/update",
                "displayName": "update",
                "isSelected": false,
                "nodeList": [
                  
                ]
              }
            ]
          },
          {
            "resourcePath": "/permission/admin/device-mgt/tenant",
            "displayName": "tenant",
            "isSelected": false,
            "nodeList": [
              {
                "resourcePath": "/permission/admin/device-mgt/tenant/configuration",
                "displayName": "configuration",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/tenant/configuration/modify",
                    "displayName": "modify",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/tenant/configuration/view",
                    "displayName": "view",
                    "isSelected": true,
                    "nodeList": [
                      
                    ]
                  }
                ]
              }
            ]
          },
          {
            "resourcePath": "/permission/admin/device-mgt/user",
            "displayName": "Device Management User",
            "isSelected": false,
            "nodeList": [
              {
                "resourcePath": "/permission/admin/device-mgt/user/devices",
                "displayName": "Devices",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/user/devices/list",
                    "displayName": "List Individual Devices",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/user/devices/operation",
                    "displayName": "Perform Operation on an Individual Device",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  }
                ]
              }
            ]
          },
          {
            "resourcePath": "/permission/admin/device-mgt/users",
            "displayName": "users",
            "isSelected": false,
            "nodeList": [
              {
                "resourcePath": "/permission/admin/device-mgt/users/add",
                "displayName": "add",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/users/change-password",
                "displayName": "change-password",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/users/delete",
                "displayName": "delete",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/users/devices",
                "displayName": "devices",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/users/invite",
                "displayName": "invite",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/users/reset-password",
                "displayName": "reset-password",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/users/roles",
                "displayName": "roles",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/users/update",
                "displayName": "update",
                "isSelected": false,
                "nodeList": [
                  
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/users/view",
                "displayName": "view",
                "isSelected": false,
                "nodeList": [
                  
                ]
              }
            ]
          },
          {
            "resourcePath": "/permission/admin/device-mgt/windows",
            "displayName": "windows",
            "isSelected": false,
            "nodeList": [
              {
                "resourcePath": "/permission/admin/device-mgt/windows/devices",
                "displayName": "devices",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/windows/devices/getBST",
                    "displayName": "getBST",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/windows/devices/getPolicy",
                    "displayName": "getPolicy",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/windows/devices/requestSecurityToken",
                    "displayName": "requestSecurityToken",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  }
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/windows/license",
                "displayName": "license",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/windows/license/view",
                    "displayName": "view",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  }
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/windows/operations",
                "displayName": "operations",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/windows/operations/disenroll",
                    "displayName": "disenroll",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/windows/operations/l* Connection #0 to host localhost left intact ock",
                    "displayName": "lock",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/windows/operations/lock-reset",
                    "displayName": "lock-reset",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/windows/operations/reboot-device",
                    "displayName": "reboot-device",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/windows/operations/ring-device",
                    "displayName": "ring-device",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/windows/operations/upgrade-firmware",
                    "displayName": "upgrade-firmware",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  },
                  {
                    "resourcePath": "/permission/admin/device-mgt/windows/operations/wipe-data",
                    "displayName": "wipe-data",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  }
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/windows/policies",
                "displayName": "policies",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/windows/policies/view",
                    "displayName": "view",
                    "isSelected": false,
                    "nodeList": [
                      
                    ]
                  }
                ]
              },
              {
                "resourcePath": "/permission/admin/device-mgt/windows/tenant",
                "displayName": "tenant",
                "isSelected": false,
                "nodeList": [
                  {
                    "resourcePath": "/permission/admin/device-mgt/windows/tenant/configuration",
                    "displayName": "configuration",
                    "isSelected": false,
                    "nodeList": [
                      {
                        "resourcePath": "/permission/admin/device-mgt/windows/tenant/configuration/modify",
                        "displayName": "modify",
                        "isSelected": false,
                        "nodeList": [
                          
                        ]
                      },
                      {
                        "resourcePath": "/permission/admin/device-mgt/windows/tenant/configuration/view",
                        "displayName": "view",
                        "isSelected": false,
                        "nodeList": [
                          
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "resourcePath": "/permission/admin/login",
        "displayName": "Login",
        "isSelected": false,
        "nodeList": [
          
        ]
      }
    ]
  }
}

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.