/**
  * get all possible application rights
  *
  * @return  array   all application rights
  */
 public function getAllApplicationRights()
 {
     $allRights = parent::getAllApplicationRights();
     $addRights = array(Tinebase_Acl_Rights::MANAGE_SHARED_FOLDERS, Tinebase_Acl_Rights::USE_PERSONAL_TAGS, self::MANAGE_DOWNLOADLINKS);
     $allRights = array_merge($allRights, $addRights);
     return $allRights;
 }
Beispiel #2
0
 /**
  * get all possible application rights
  *
  * @return  array   all application rights
  */
 public function getAllApplicationRights()
 {
     $allRights = parent::getAllApplicationRights();
     $addRights = array(self::MANAGE_ACCOUNTS, self::ADD_ACCOUNTS);
     $allRights = array_merge($allRights, $addRights);
     return $allRights;
 }
 /**
  * get all possible application rights
  *
  * @return  array   all application rights
  */
 public function getAllApplicationRights()
 {
     $allRights = parent::getAllApplicationRights();
     $addRights = array(Tinebase_Acl_Rights::USE_PERSONAL_TAGS, self::ADD_NEW_USER, self::ADD_EXISTING_USER, self::MANAGE_SHARED_COURSE_FAVORITES);
     $allRights = array_merge($allRights, $addRights);
     return $allRights;
 }
Beispiel #4
0
 /**
  * get all possible application rights
  *
  * @return  array   all application rights
  */
 public function getAllApplicationRights()
 {
     $allRights = parent::getAllApplicationRights();
     $addRights = array(Tinebase_Acl_Rights::MANAGE_SHARED_FOLDERS, Tinebase_Acl_Rights::MANAGE_SHARED_FAVORITES);
     $allRights = array_merge($allRights, $addRights);
     return $allRights;
 }
 /**
  * get all possible application rights
  *
  * @return  array   all application rights
  */
 public function getAllApplicationRights()
 {
     $allRights = parent::getAllApplicationRights();
     $addRights = array(Tinebase_Acl_Rights::MANAGE_SHARED_FOLDERS, Tinebase_Acl_Rights::USE_PERSONAL_TAGS, self::MANAGE_SHARED_EVENT_FAVORITES, self::MANAGE_RESOURCES);
     $allRights = array_merge($allRights, $addRights);
     return $allRights;
 }
 /**
  * get all possible application rights
  *
  * @return  array   all application rights
  */
 public function getAllApplicationRights()
 {
     $allRights = parent::getAllApplicationRights();
     $addRights = array(Tinebase_Acl_Rights::USE_PERSONAL_TAGS, self::MANAGE_TIMEACCOUNTS, self::ADD_TIMEACCOUNTS, self::MANAGE_SHARED_TIMEACCOUNT_FAVORITES, self::MANAGE_SHARED_TIMESHEET_FAVORITES);
     $allRights = array_merge($allRights, $addRights);
     return $allRights;
 }
Beispiel #7
0
 /**
  * get all possible application rights
  *
  * @return  array   all application rights
  */
 public function getAllApplicationRights()
 {
     $allRights = parent::getAllApplicationRights();
     $addRights = array(self::MANAGE_MANDATORS, self::MANAGE_ARTICLE_GROUPS, self::MANAGE_PRICE_GROUPS, self::MANAGE_ARTICLES, self::MANAGE_DEBITORS, self::MANAGE_CREDITORS, self::MANAGE_ORDERS, self::RESET_RECEIPT, self::EDITRECEIPT_AFTERPRINT, self::POS_VIEW_RESTRICTED);
     $allRights = array_merge($allRights, $addRights);
     return $allRights;
 }
 /**
  * get all possible application rights
  *
  * @return  array   all application rights
  */
 public function getAllApplicationRights()
 {
     $allRights = parent::getAllApplicationRights();
     $addRights = array(self::EDIT_PRIVATE);
     $allRights = array_merge($allRights, $addRights);
     return $allRights;
 }
 /**
  * get all possible application rights
  *
  * @param   string  $_application application name
  * @return  array   all application rights
  */
 public function getAllApplicationRights($_application = NULL)
 {
     $allRights = parent::getAllApplicationRights();
     if ($_application === NULL || $_application === 'Tinebase') {
         $addRights = array(self::REPORT_BUGS, self::CHECK_VERSION, self::MANAGE_OWN_PROFILE, self::MANAGE_OWN_STATE);
     } else {
         $addRights = array();
     }
     $allRights = array_merge($allRights, $addRights);
     return $allRights;
 }
 /**
  * get all possible application rights
  *
  * @return  array   all application rights
  */
 public function getAllApplicationRights()
 {
     $allRights = parent::getAllApplicationRights();
     $addRights = array(self::MANAGE_ACCESS_LOG, self::MANAGE_ACCOUNTS, self::MANAGE_APPS, self::MANAGE_SHARED_TAGS, self::MANAGE_ROLES, self::MANAGE_COMPUTERS, self::MANAGE_CONTAINERS, self::MANAGE_CUSTOMFIELDS, self::VIEW_ACCESS_LOG, self::VIEW_ACCOUNTS, self::VIEW_APPS, self::VIEW_ROLES, self::VIEW_COMPUTERS, self::VIEW_CONTAINERS, self::VIEW_CUSTOMFIELDS, self::VIEW_SERVERINFO);
     $allRights = array_merge($allRights, $addRights);
     return $allRights;
 }
 /**
  * get all possible application rights
  *
  * @return  array   all application rights
  */
 public function getAllApplicationRights()
 {
     $allRights = parent::getAllApplicationRights();
     $addRights = array(Tinebase_Acl_Rights::MANAGE_SHARED_FOLDERS, Tinebase_Acl_Rights::USE_PERSONAL_TAGS, self::MANAGE_SHARED_CONTACT_FAVORITES, self::MANAGE_CORE_DATA_LISTS, self::MANAGE_CORE_DATA_LIST_ROLES);
     $allRights = array_merge($allRights, $addRights);
     return $allRights;
 }
 /**
  * get all possible application rights
  *
  * @return  array   all application rights
  */
 public function getAllApplicationRights()
 {
     return array_merge(parent::getAllApplicationRights(), array(self::MANAGE_SHARED_ACCOUNTS, self::MANAGE_PRIVATE_ACCOUNTS, self::MANAGE_ACCOUNTS, self::SYNC_LINES));
 }
 /**
  * get all possible application rights
  *
  * @return  array   all application rights
  */
 public function getAllApplicationRights()
 {
     $allRights = parent::getAllApplicationRights();
     $addRights = array(Tinebase_Acl_Rights::USE_PERSONAL_TAGS, self::MANAGE_PRODUCTS, self::MANAGE_CONTRACTS, self::MANAGE_COSTCENTERS, self::MANAGE_CUSTOMERS, self::MANAGE_DIVISIONS);
     // add rights dependent on feature switches
     if (Sales_Config::getInstance()->featureEnabled(Sales_Config::FEATURE_INVOICES_MODULE)) {
         $addRights[] = self::MANAGE_INVOICES;
         $addRights[] = self::SET_INVOICE_NUMBER;
     }
     if (Sales_Config::getInstance()->featureEnabled(Sales_Config::FEATURE_SUPPLIERS_MODULE)) {
         $addRights[] = self::MANAGE_SUPPLIERS;
     }
     if (Sales_Config::getInstance()->featureEnabled(Sales_Config::FEATURE_PURCHASE_INVOICES_MODULE)) {
         $addRights[] = self::MANAGE_PURCHASE_INVOICES;
     }
     if (Sales_Config::getInstance()->featureEnabled(Sales_Config::FEATURE_OFFERS_MODULE)) {
         $addRights[] = self::MANAGE_OFFERS;
     }
     if (Sales_Config::getInstance()->featureEnabled(Sales_Config::FEATURE_ORDERCONFIRMATIONS_MODULE)) {
         $addRights[] = self::MANAGE_ORDERCONFIRMATIONS;
         $addRights[] = self::CHANGE_OC_NUMBER;
     }
     $allRights = array_merge($allRights, $addRights);
     return $allRights;
 }