Merge pull request #16289 from owncloud/fix-stupid-mistake
Add NoAdminRequired annotation
This commit is contained in:
commit
b626de0b9f
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue