mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
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:
1 parent
4fed6921d6
commit
a68776d04b
5 files changed
+55
-97
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user