Skip to content
Snippets Groups Projects
Commit cdeb2052 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Add NoAdminRequired annotation

Stupid mistake in master, fixes https://github.com/owncloud/core/issues/16288
parent d4eff553
No related branches found
No related tags found
No related merge requests found
...@@ -54,6 +54,8 @@ class CertificateController extends Controller { ...@@ -54,6 +54,8 @@ class CertificateController extends Controller {
/** /**
* Add a new personal root certificate to the users' trust store * Add a new personal root certificate to the users' trust store
*
* @NoAdminRequired
* @return array * @return array
*/ */
public function addPersonalRootCertificate() { public function addPersonalRootCertificate() {
...@@ -82,6 +84,8 @@ class CertificateController extends Controller { ...@@ -82,6 +84,8 @@ class CertificateController extends Controller {
/** /**
* Removes a personal root certificate from the users' trust store * Removes a personal root certificate from the users' trust store
*
* @NoAdminRequired
* @param string $certificateIdentifier * @param string $certificateIdentifier
* @return DataResponse * @return DataResponse
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment