forked from cory/tildefriends
Track / expose a list of registered users.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3949 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -172,6 +172,13 @@ async function getProcessBlob(blobId, key, options) {
|
||||
}
|
||||
},
|
||||
'user': getUser(process, process),
|
||||
'users': function() {
|
||||
try {
|
||||
return JSON.parse(new Database('auth').get('users'));
|
||||
} catch {
|
||||
return [];
|
||||
}
|
||||
},
|
||||
'apps': user => getApps(user, process),
|
||||
'getSockets': getSockets,
|
||||
'permissionTest': function(permission) {
|
||||
|
Reference in New Issue
Block a user