1/*
2 * This file should help you create a perms.db file used by the
3 * CoreAuthorisationModGroups NagVis authorisation module.
4 * It makes it possible to use contact and contact group assignments
5 * from your monitoring core to control permissions of users in NagVis.
6 *
7 * Below you find the JSON structure which is used to map contact groups
8 * to NagVis permissions.
9 *
10 * In the example below all members of the contact group "admins" get
11 * full access to NagVis including all permissions.
12 *
13 * The contact group named "first_level_support" gets view access to all
14 * maps defined in NagVis.
15 *
16 * The contact group named "power_users" gets view and edit permissions
17 * to all maps.
18 *
19 * The contact group named "oracle_admins" is allowed to view and edit
20 * the map named "oracle_servers".
21 */
22{
23  "admins": {
24    "admin": 1
25  },
26  "first_level_support": {
27    "view": [ "*" ]
28  },
29  "power_users": {
30    "view": [ "*" ],
31    "edit": [ "*" ]
32  },
33  "oracle_admins": {
34    "view": [ "oracle_servers" ],
35    "edit": [ "oracle_servers" ]
36  }
37}
38