summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-05-12 19:30:59 +0200
committerLukas Reschke <lukas@owncloud.com>2015-05-12 19:30:59 +0200
commitb626de0b9f135e2993496a8d18f3200dfab72337 (patch)
tree1b975ca4dffda065170fc34e828e12152df9f475
parentdc362823e0d30b80be1ead90ef6d4ddb76fd1929 (diff)
parenta7a2579c893503e97b91900e09fbe1ee9d64725a (diff)
downloadnextcloud-server-b626de0b9f135e2993496a8d18f3200dfab72337.tar.gz
nextcloud-server-b626de0b9f135e2993496a8d18f3200dfab72337.zip
Merge pull request #16289 from owncloud/fix-stupid-mistake
Add NoAdminRequired annotation
-rw-r--r--settings/controller/certificatecontroller.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/settings/controller/certificatecontroller.php b/settings/controller/certificatecontroller.php
index d9026cd42af..ea20b7c587f 100644
--- a/settings/controller/certificatecontroller.php
+++ b/settings/controller/certificatecontroller.php
@@ -54,6 +54,9 @@ class CertificateController extends Controller {
/**
* Add a new personal root certificate to the users' trust store
+ *
+ * @NoAdminRequired
+ * @NoSubadminRequired
* @return array
*/
public function addPersonalRootCertificate() {
@@ -82,6 +85,9 @@ class CertificateController extends Controller {
/**
* Removes a personal root certificate from the users' trust store
+ *
+ * @NoAdminRequired
+ * @NoSubadminRequired
* @param string $certificateIdentifier
* @return DataResponse
*/