From 3a6c9972b59b11dc98b76ee51446d5568ef0f519 Mon Sep 17 00:00:00 2001 From: michael pereira Date: Tue, 5 Apr 2011 19:33:19 +0200 Subject: Forms Rechte angepasst, Views angepasst --- application/modules/user/forms/Bootos.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'application/modules/user/forms/Bootos.php') diff --git a/application/modules/user/forms/Bootos.php b/application/modules/user/forms/Bootos.php index 867cfc1..21f674b 100644 --- a/application/modules/user/forms/Bootos.php +++ b/application/modules/user/forms/Bootos.php @@ -5,13 +5,9 @@ class user_Form_Bootos extends Zend_Form private $configlist; private $action; - private $rights; private $groupdepth; private $page; - public function setRights($rights){ - $this->rights = $rights; - } public function setAction($action){ $this->action = $action; @@ -32,7 +28,7 @@ class user_Form_Bootos extends Zend_Form $this->setName("BootOsCreate"); $this->setMethod('post'); - if ($this->rights == "meta") + if (Pbs_Acl::checkRight('boem')) $meta = true; else $meta = null; -- cgit v1.2.3-55-g7522