Rigged up some UI to show and allow removing permissions that have been granted or denied by the user to an app.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3961 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-08-14 18:24:41 +00:00
parent 8edc9aaa63
commit e4c182a6fa
5 changed files with 89 additions and 2 deletions

View File

@ -158,6 +158,10 @@ function socket(request, response, client) {
if (process) {
core.enableStats(process, message.enabled);
}
} else if (message.action == 'resetPermission') {
if (process) {
process.resetPermission(message.permission);
}
} else if (message.message == 'tfrpc') {
if (message.id && g_calls[message.id]) {
if (message.error !== undefined) {