summaryrefslogtreecommitdiffstats
path: root/apps/settings/appinfo
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2021-09-29 22:48:32 +0200
committerGitHub <noreply@github.com>2021-09-29 22:48:32 +0200
commit04f188238669721dd150580186daefaf78b6dea4 (patch)
tree212921ccd7f6645b7c1aa2f45224c6eafbe4fbe7 /apps/settings/appinfo
parent75b3263e80bc7509a19192a88fc3774f6a829885 (diff)
parent6958d8005ae3b86759f49746564bf7238456be52 (diff)
downloadnextcloud-server-04f188238669721dd150580186daefaf78b6dea4.tar.gz
nextcloud-server-04f188238669721dd150580186daefaf78b6dea4.zip
Merge pull request #28189 from nextcloud/work/carl/admin-delegation
Implement Admin Delegation
Diffstat (limited to 'apps/settings/appinfo')
-rw-r--r--apps/settings/appinfo/info.xml4
-rw-r--r--apps/settings/appinfo/routes.php4
2 files changed, 7 insertions, 1 deletions
diff --git a/apps/settings/appinfo/info.xml b/apps/settings/appinfo/info.xml
index 335e35ea595..0a717f39417 100644
--- a/apps/settings/appinfo/info.xml
+++ b/apps/settings/appinfo/info.xml
@@ -20,10 +20,12 @@
<settings>
<admin>OCA\Settings\Settings\Admin\Mail</admin>
<admin>OCA\Settings\Settings\Admin\Overview</admin>
- <admin>OCA\Settings\Settings\Admin\Security</admin>
<admin>OCA\Settings\Settings\Admin\Server</admin>
<admin>OCA\Settings\Settings\Admin\Sharing</admin>
+ <admin>OCA\Settings\Settings\Admin\Security</admin>
+ <admin>OCA\Settings\Settings\Admin\Delegation</admin>
<admin-section>OCA\Settings\Sections\Admin\Additional</admin-section>
+ <admin-section>OCA\Settings\Sections\Admin\Delegation</admin-section>
<admin-section>OCA\Settings\Sections\Admin\Groupware</admin-section>
<admin-section>OCA\Settings\Sections\Admin\Overview</admin-section>
<admin-section>OCA\Settings\Sections\Admin\Security</admin-section>
diff --git a/apps/settings/appinfo/routes.php b/apps/settings/appinfo/routes.php
index c73ef08f63c..cb503961ed2 100644
--- a/apps/settings/appinfo/routes.php
+++ b/apps/settings/appinfo/routes.php
@@ -31,6 +31,10 @@ return [
'AuthSettings' => ['url' => '/settings/personal/authtokens' , 'root' => ''],
],
'routes' => [
+ ['name' => 'AuthorizedGroup#create', 'url' => '/settings/authorizedgroups', 'verb' => 'POST'],
+ ['name' => 'AuthorizedGroup#saveSettings', 'url' => '/settings/authorizedgroups/saveSettings', 'verb' => 'POST'],
+ ['name' => 'AuthorizedGroup#destroy', 'url' => '/settings/authorizedgroups', 'verb' => 'DELETE'],
+
['name' => 'AuthSettings#wipe', 'url' => '/settings/personal/authtokens/wipe/{id}', 'verb' => 'POST' , 'root' => ''],
['name' => 'MailSettings#setMailSettings', 'url' => '/settings/admin/mailsettings', 'verb' => 'POST' , 'root' => ''],