[Pkg-owncloud-commits] [owncloud] 69/123: Add NoAdminRequired annotation

David Prévot taffit at moszumanska.debian.org
Tue May 19 23:55:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit cdeb2052bb4feebc2566bf03a9316cd4e21040b3
Author: Lukas Reschke <lukas at owncloud.com>
Date:   Tue May 12 17:49:34 2015 +0200

    Add NoAdminRequired annotation
    
    Stupid mistake in master, fixes https://github.com/owncloud/core/issues/16288
---
 settings/controller/certificatecontroller.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/settings/controller/certificatecontroller.php b/settings/controller/certificatecontroller.php
index d9026cd..facf928 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
 	 */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list