summaryrefslogtreecommitdiffstats
path: root/ogcp/cfg/ogcp.json
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2022-04-26 10:36:25 +0200
committerJavier Sánchez Parra <jsanchez@soleta.eu>2022-04-27 17:24:08 +0200
commit57da4f4efa0b8b7d96b1238b0127aa83d20007eb (patch)
tree6d3185e571231b923aa7d020dc5224a3a246c374 /ogcp/cfg/ogcp.json
parentc7b0024d2405d29e5c36445b6d28af046b2213f1 (diff)
Add user role administrator
ogCP now have to types of users, regular and administrator users. ogCP configuration file defines users roles with the boolean field "ADMIN".
Diffstat (limited to 'ogcp/cfg/ogcp.json')
-rw-r--r--ogcp/cfg/ogcp.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/cfg/ogcp.json b/ogcp/cfg/ogcp.json
index 7a04890..0cdbb6d 100644
--- a/ogcp/cfg/ogcp.json
+++ b/ogcp/cfg/ogcp.json
@@ -7,11 +7,13 @@
{
"USER": "admin",
"PASS": "5b722b307fce6c944905d132691d5e4a2214b7fe92b738920eb3fce3a90420a19511c3010a0e7712b054daef5b57bad59ecbd93b3280f210578f547f4aed4d25",
+ "ADMIN": true,
"SCOPES": [ ]
},
{
"USER": "user",
"PASS": "5b722b307fce6c944905d132691d5e4a2214b7fe92b738920eb3fce3a90420a19511c3010a0e7712b054daef5b57bad59ecbd93b3280f210578f547f4aed4d25",
+ "ADMIN": false,
"SCOPES": [
"Unidad Organizativa (Default)"
]