doc: dev: Use and recommend new privileged actions

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2022-06-20 18:17:07 -04:00
1 parent 4fed6921d6
commit a68776d04b
5 files changed
+55 -97

No files matched your search

+1 -4
View File
@@ -24,10 +24,7 @@ installation:
'rpc-whitelist-enabled': False,
'rpc-authentication-required': False
}
helper.call('post', actions.superuser_run, 'transmission',
['merge-configuration'],
input=json.dumps(new_configuration).encode())
helper.call('post', privileged.merge_configuration, new_configuration)
helper.call('post', app.enable)
The first time this app's view is accessed, FreedomBox shows an app installation