Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Get global role parameters

Code Block
{
    "method":"AxxonSoftaxxonsoft.bl.security.SecurityService.ListGlobalPermissions",
    "data":{
        "role_ids":"356e84ea-8b66-4cc7-a330-feaa34fff83d"
        }
}

...

Edit global role parameters

Code Block
{
    "method": "AxxonSoftaxxonsoft.bl.security.SecurityService.SetGlobalPermissions",
    "data": {
        "permissions": {
            "21b8907c-bee4-4729-acf1-eeab31354b8b": {
                "unrestricted_access": "UNRESTRICTED_ACCESS_NO",
                "maps_access": "MAP_ACCESS_FULL",
                "feature_access": [
                    "FEATURE_ACCESS_EDIT_PTZ_PRESETS",
                    "FEATURE_ACCESS_ALLOW_SHOW_FACES_IN_LIVE",
                    "FEATURE_ACCESS_ALLOW_UNPROTECTED_EXPORT",
                    "FEATURE_ACCESS_WEB_UI_LOGIN",
                    "FEATURE_ACCESS_CHANGING_LAYOUTS"
                ],
                "alert_access": "ALERT_ACCESS_VIEW_ONLY"
            }
        }
    }
}

...