roles into wsscnx from sess

This commit is contained in:
STEINNI
2025-09-21 20:09:42 +00:00
parent e7dcb7290e
commit 5d223c776c
5 changed files with 26 additions and 51 deletions
+7 -15
View File
@@ -20,27 +20,19 @@
{
"roles": "*",
"mustSubscribe": [ "system:notifs:[UID]", "onlineUsers", "system:notifs" ],
"canSubscribe": ["chat:*_*","userchans:notifs"],
"canPublish": [ "chat:*_*", "userchans:notifs" ],
"canSet": [ "[UID]:userPrefs", "chat:friends", "collaborative:chalkboardUsers" ],
"canGet": [ "[UID]:userPrefs", "chat:friends", "collaborative:chalkboardUsers" ]
"canSubscribe": ["gps:*","agents:*"],
"canPublish": [ ],
"canSet": [ "[UID]:userPrefs" ],
"canGet": [ "[UID]:userPrefs"]
},
{
"roles": ["EIC_Admin","EIC_Dev"],
"roles": ["admin"],
"mustSubscribe": ["system:adminNotifs"],
"canSubscribe": ["collaborative:*"],
"canPublish": ["system:notifs:*", "system:notifs", "infraNotifs:httpGateway", "infraNotifs:test", "collaborative:*"],
"canSubscribe": [ "infraNotifs:*", "gps:*","agents:*"],
"canPublish": ["gps:*", "agents:*", "system:notifs:*", "system:notifs", "infraNotifs:*"],
"canSet": ["*:userPrefs"],
"canGet": ["*:userPrefs"],
"canDo": ["getActiveUsers", "killSessions","reloadAccessRights", "getAccessRights", "getPlatformState", "setPlatformState", "redPill"]
},
{
"roles": ["EIC_Dev"],
"uuids":["steinic"],
"canPublish": [],
"canSubscribe": [],
"mustSubscribe": [],
"canDo": ["REDPILL", "BLUEPILL"]
}
],
"redis":{