summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-05-12 17:49:34 +0200
committerLukas Reschke <lukas@owncloud.com>2015-05-12 17:49:34 +0200
commitcdeb2052bb4feebc2566bf03a9316cd4e21040b3 (patch)
treef7c7884f3b15700e445055a34b2d23f4eaa8fd10 /settings
parentd4eff55342500603584b6526fc239bc9bd66a4a5 (diff)
downloadnextcloud-server-cdeb2052bb4feebc2566bf03a9316cd4e21040b3.tar.gz
nextcloud-server-cdeb2052bb4feebc2566bf03a9316cd4e21040b3.zip
Add NoAdminRequired annotation
Stupid mistake in master, fixes https://github.com/owncloud/core/issues/16288
Diffstat (limited to 'settings')
-rw-r--r--settings/controller/certificatecontroller.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/controller/certificatecontroller.php b/settings/controller/certificatecontroller.php
index d9026cd42af..facf928bc73 100644
--- a/settings/controller/certificatecontroller.php
+++ b/settings/controller/certificatecontroller.php
@@ -54,6 +54,8 @@ class CertificateController extends Controller {
/**
* Add a new personal root certificate to the users' trust store
+ *
+ * @NoAdminRequired
* @return array
*/
public function addPersonalRootCertificate() {
@@ -82,6 +84,8 @@ class CertificateController extends Controller {
/**
* Removes a personal root certificate from the users' trust store
+ *
+ * @NoAdminRequired
* @param string $certificateIdentifier
* @return DataResponse
*/