1 | {
|
2 | "auth": {
|
3 | "version": "0.0.2",
|
4 |
|
5 | "authToken": "d2ead440-eb12-11e2-91e2-0800200c9a66",
|
6 | "bypassToken": "123",
|
7 | "whitelist": ["127.0.0.1"],
|
8 | "store": "none",
|
9 | "tokenExpiresAfter": 1200000,
|
10 | "permissions": [
|
11 | {
|
12 | "id": "access_system",
|
13 | "description": "This role can access the system"
|
14 | },
|
15 | {
|
16 | "id": "manage_system",
|
17 | "description": "This role can manage the system."
|
18 | }
|
19 | ],
|
20 | "roles": [
|
21 | {
|
22 | "id": "admin",
|
23 | "permissions": ["access_system", "manage_system"],
|
24 | "filter": null
|
25 | },
|
26 | {
|
27 | "id": "user",
|
28 | "permissions": ["access_system"],
|
29 | "filter": null
|
30 | }
|
31 | ],
|
32 | "organizations": [
|
33 | {
|
34 | "id": "joola",
|
35 | "name": "Joola Smart Solutions Ltd",
|
36 | "description": "This organization stores users for system access and maintenance.",
|
37 | "filter": null,
|
38 | "roles": [
|
39 | {}
|
40 | ],
|
41 | "users": [
|
42 | {
|
43 | "id": 1,
|
44 | "_username": "admin",
|
45 | "displayName": "Admin",
|
46 | "_email": "admin@joo.la",
|
47 | "_password": "password",
|
48 | "_roles": ["admin", "user"],
|
49 | "_filter": null
|
50 | },
|
51 | {
|
52 | "id": 2,
|
53 | "_username": "demo",
|
54 | "displayName": "Demo",
|
55 | "_email": "demo@joo.la",
|
56 | "_password": "password",
|
57 | "_roles": ["user"],
|
58 | "_filter": null
|
59 | }
|
60 | ]
|
61 | }
|
62 | ]
|
63 | }
|
64 | }
|