forked from cory/tildefriends
		
	Took another whack at permissions.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3958 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
		| @@ -5,7 +5,8 @@ tfrpc.register(function delete_user(user) { | ||||
| }); | ||||
|  | ||||
| async function main() { | ||||
| 	let data = {users: {}}; | ||||
| 	let data = {users: {}, granted: await core.allPermissionsGranted()}; | ||||
| 	print(JSON.stringify(data)); | ||||
| 	for (let user of await core.users()) { | ||||
| 		data.users[user] = await core.permissionsForUser(user); | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user