From 4637dcc4587ed0c3b1695568a3c8a3853d695c5d Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 9 Apr 2014 01:59:42 +0200 Subject: migrate security annotations, please review --- controller/itemcontroller.php | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) (limited to 'controller/itemcontroller.php') diff --git a/controller/itemcontroller.php b/controller/itemcontroller.php index a813d92ca..2dd919fed 100644 --- a/controller/itemcontroller.php +++ b/controller/itemcontroller.php @@ -53,9 +53,7 @@ class ItemController extends Controller { /** - * @IsAdminExemption - * @IsSubAdminExemption - * @Ajax + * @NoAdminRequired */ public function items(){ $userId = $this->api->getUserId(); @@ -94,9 +92,7 @@ class ItemController extends Controller { /** - * @IsAdminExemption - * @IsSubAdminExemption - * @Ajax + * @NoAdminRequired */ public function newItems() { $userId = $this->api->getUserId(); @@ -132,9 +128,7 @@ class ItemController extends Controller { /** - * @IsAdminExemption - * @IsSubAdminExemption - * @Ajax + * @NoAdminRequired */ public function star(){ try { @@ -149,9 +143,7 @@ class ItemController extends Controller { /** - * @IsAdminExemption - * @IsSubAdminExemption - * @Ajax + * @NoAdminRequired */ public function unstar(){ try { @@ -174,9 +166,7 @@ class ItemController extends Controller { /** - * @IsAdminExemption - * @IsSubAdminExemption - * @Ajax + * @NoAdminRequired */ public function read(){ try { @@ -191,9 +181,7 @@ class ItemController extends Controller { /** - * @IsAdminExemption - * @IsSubAdminExemption - * @Ajax + * @NoAdminRequired */ public function unread(){ try { @@ -208,9 +196,7 @@ class ItemController extends Controller { /** - * @IsAdminExemption - * @IsSubAdminExemption - * @Ajax + * @NoAdminRequired */ public function readAll(){ $userId = $this->api->getUserId(); -- cgit v1.2.3