summaryrefslogtreecommitdiffstats
path: root/settings/routes.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-12-22 17:42:28 +0100
committerRobin Appelman <icewind@owncloud.com>2016-01-12 12:50:59 +0100
commitc15cab7ed6bf2d3ce9009ca09c7c5f33b252860f (patch)
tree08d3aefd146ce159b23073958f2fb7e96ace4143 /settings/routes.php
parent0c0829fbc73ce10ea1a951989c20973b6b5faa16 (diff)
downloadnextcloud-server-c15cab7ed6bf2d3ce9009ca09c7c5f33b252860f.tar.gz
nextcloud-server-c15cab7ed6bf2d3ce9009ca09c7c5f33b252860f.zip
Allow admins to add system wide root certificates
Diffstat (limited to 'settings/routes.php')
-rw-r--r--settings/routes.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/routes.php b/settings/routes.php
index 6b6b0150168..0cc5e1eccab 100644
--- a/settings/routes.php
+++ b/settings/routes.php
@@ -57,6 +57,8 @@ $application->registerRoutes($this, [
['name' => 'CheckSetup#rescanFailedIntegrityCheck', 'url' => '/settings/integrity/rescan', 'verb' => 'GET'],
['name' => 'Certificate#addPersonalRootCertificate', 'url' => '/settings/personal/certificate', 'verb' => 'POST'],
['name' => 'Certificate#removePersonalRootCertificate', 'url' => '/settings/personal/certificate/{certificateIdentifier}', 'verb' => 'DELETE'],
+ ['name' => 'Certificate#addSystemRootCertificate', 'url' => '/settings/admin/certificate', 'verb' => 'POST'],
+ ['name' => 'Certificate#removeSystemRootCertificate', 'url' => '/settings/admin/certificate/{certificateIdentifier}', 'verb' => 'DELETE'],
]
]);