From 57da4f4efa0b8b7d96b1238b0127aa83d20007eb Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Tue, 26 Apr 2022 10:36:25 +0200 Subject: 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". --- ogcp/cfg/ogcp.json | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ogcp/cfg') 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)" ] -- cgit v1.2.3-18-g5258