converting to MP, just config in accessRights left

This commit is contained in:
STEINNI
2025-10-05 21:24:10 +00:00
parent 03af111d7f
commit 350d37e465
13 changed files with 283 additions and 796 deletions
+45 -34
View File
@@ -9,48 +9,59 @@
"XXcertFile": "/etc/letsencrypt/live/42.internike.com/fullchain.pem",
"XXcertKeyFile": "/etc/letsencrypt/live/42.internike.com/privkey.pem",
"challengeExpiration": 20,
"unsecure": true,
"healthCheckPath": "/status",
"devotpToken": "qhsdfkjhqsgdfkqhs",
"systemChannels": {
"onlineUsers": "onlineUsers"
}
"unsecure": true
},
"accessRights":[
{
"roles": "*",
"mustSubscribe": [ "system:notifs:[UID]", "onlineUsers", "system:notifs" ],
"canSubscribe": ["gps:*","agents:*"],
"mustSubscribe": [ "system:notifs:[UID]", "system:notifs" ],
"canSubscribe": ["system:gps:*", "arena:gps:*","arena:agents:*"],
"canPublish": [ ],
"canSet": [ "[UID]:userPrefs" ],
"canGet": [ "[UID]:userPrefs"]
"canSet": [ ],
"canGet": [ ]
},
{
"roles": ["admin"],
"mustSubscribe": ["system:adminNotifs"],
"canSubscribe": [ "infraNotifs:*", "gps:*","agents:*"],
"canPublish": ["gps:*", "agents:*", "system:notifs:*", "system:notifs", "infraNotifs:*"],
"canSet": ["*:userPrefs"],
"canGet": ["*:userPrefs"],
"canDo": ["getActiveUsers", "killSessions","reloadAccessRights", "getAccessRights", "getPlatformState", "setPlatformState", "redPill"]
"mustSubscribe": ["system:infraNotifs", "system:replies:[UID]"],
"canSubscribe": [ ],
"canPublish": [ "system:requests:*" ],
"canSet": ["system:*"],
"canGet": ["system:*"],
"canDo": ["getActiveUsers", "reloadAccessRights", "getAccessRights"]
}
],
"redis":{
"host": "127.0.0.1",
"tls":false,
"port": 6379,
"Xuser": "msgbus",
"Xpass": "yj465sqfCTA0bKDw3zEYg8OqYl9Tv",
"user": "",
"pass": "",
"historizeChannels": [ "userchans:*" ],
"historizeMax": 1000,
"authTokenPrefix": "authorizer:message_bus_user_",
"challengePrefix": "msgBusChallenge:",
"basePrefix": "messageBus:",
"storePrefix": "messageBus:Store:",
"storeMaxSize": 51200,
"historizePrefix": "histoChan:",
"platformStateKey": "authorizer:platformDown"
}
"redis":[
{
"redisId":"SYS_1",
"role": "primary",
"host": "127.0.0.1",
"tls":false,
"port": 6380,
"user": "",
"pass": "",
"historizeChannels": [ ],
"historizeMax": 1000,
"ChansFilter":"system:",
"basePrefix": "messageBus:",
"storePrefix": "messageBus:Store:",
"storeMaxSize": 51200,
"historizePrefix": "histoChan:"
},
{
"redisId":"ARN_1",
"role": "primary",
"host": "127.0.0.1",
"tls":false,
"port": 6379,
"user": "",
"pass": "",
"historizeChannels": [ ],
"historizeMax": 1000,
"chansFilter":"arena:",
"basePrefix": "messageBus:",
"storePrefix": "messageBus:Store:",
"storeMaxSize": 51200,
"historizePrefix": "histoChan:"
}
]
}