Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/tasks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/controller/listscontroller.php')
-rw-r--r--lib/controller/listscontroller.php16
1 files changed, 4 insertions, 12 deletions
diff --git a/lib/controller/listscontroller.php b/lib/controller/listscontroller.php
index 5f8ccf5c..cfe12e49 100644
--- a/lib/controller/listscontroller.php
+++ b/lib/controller/listscontroller.php
@@ -29,9 +29,7 @@ use OCA\Tasks_enhanced\Controller,
class ListsController extends Controller {
/**
- * @IsAdminExemption
- * @IsSubAdminExemption
- * @Ajax
+ * @NoAdminRequired
*/
public function getLists(){
$userId = $this->api->getUserId();
@@ -48,9 +46,7 @@ class ListsController extends Controller {
}
/**
- * @IsAdminExemption
- * @IsSubAdminExemption
- * @Ajax
+ * @NoAdminRequired
*/
public function addList(){
$listName = $this->params('name');
@@ -84,9 +80,7 @@ class ListsController extends Controller {
}
/**
- * @IsAdminExemption
- * @IsSubAdminExemption
- * @Ajax
+ * @NoAdminRequired
*/
public function deleteList(){
$listId = $this->params('listID');
@@ -108,9 +102,7 @@ class ListsController extends Controller {
}
/**
- * @IsAdminExemption
- * @IsSubAdminExemption
- * @Ajax
+ * @NoAdminRequired
*/
public function setListName(){
$listId = (int) $this->params('listID');