示例#1
0
 /**
  * get translated right descriptions
  * 
  * @return  array with translated descriptions for this applications rights
  */
 public static function getTranslatedRightDescriptions()
 {
     $translate = Tinebase_Translation::getTranslation('Calendar');
     $rightDescriptions = array(Tinebase_Acl_Rights::MANAGE_SHARED_FOLDERS => array('text' => $translate->_('manage shared calendars'), 'description' => $translate->_('Create new shared calendars')), Tinebase_Acl_Rights::MANAGE_SHARED_FAVORITES => array('text' => $translate->_('manage shared calendars favorites'), 'description' => $translate->_('Create or update shared calendars favorites')), self::MANAGE_RESOURCES => array('text' => $translate->_('manage resources'), 'description' => $translate->_('All Rights to administrate resources')));
     $rightDescriptions = array_merge($rightDescriptions, parent::getTranslatedRightDescriptions());
     return $rightDescriptions;
 }
 /**
  * get translated right descriptions
  *
  * @return  array with translated descriptions for this applications rights
  */
 public static function getTranslatedRightDescriptions()
 {
     $translate = Tinebase_Translation::getTranslation('HumanResources');
     $rightDescriptions = array(self::EDIT_PRIVATE => array('text' => $translate->_('edit private employee data'), 'description' => $translate->_('Edit birthday, account data and other private information of employee records')));
     $rightDescriptions = array_merge($rightDescriptions, parent::getTranslatedRightDescriptions());
     return $rightDescriptions;
 }
示例#3
0
 /**
  * get translated right descriptions
  * 
  * @return  array with translated descriptions for this applications rights
  */
 public static function getTranslatedRightDescriptions()
 {
     $translate = Tinebase_Translation::getTranslation('Filemanager');
     $rightDescriptions = array(Tinebase_Acl_Rights::MANAGE_SHARED_FOLDERS => array('text' => $translate->_('manage shared folders'), 'description' => $translate->_('Create new shared folders')));
     $rightDescriptions = array_merge($rightDescriptions, parent::getTranslatedRightDescriptions());
     return $rightDescriptions;
 }
 /**
  * get translated right descriptions
  * 
  * @return  array with translated descriptions for this applications rights
  */
 public static function getTranslatedRightDescriptions()
 {
     $translate = Tinebase_Translation::getTranslation('Sipgate');
     $rightDescriptions = array(self::MANAGE_ACCOUNTS => array('text' => $translate->_('manage accounts'), 'description' => $translate->_('enables the account module in the application')), self::SYNC_LINES => array('text' => $translate->_('sync lines'), 'description' => $translate->_('allows the user to sync the call history')), self::MANAGE_SHARED_ACCOUNTS => array('text' => $translate->_('manage shared accounts'), 'description' => $translate->_('add, edit and delete shared accounts')), self::MANAGE_PRIVATE_ACCOUNTS => array('text' => $translate->_('manage private accounts'), 'description' => $translate->_('add, edit and delete private accounts')));
     $rightDescriptions = array_merge($rightDescriptions, parent::getTranslatedRightDescriptions());
     return $rightDescriptions;
 }
示例#5
0
 /**
  * get translated right descriptions
  * 
  * @return  array with translated descriptions for this applications rights
  */
 public static function getTranslatedRightDescriptions()
 {
     $translate = Tinebase_Translation::getTranslation('Tasks');
     $rightDescriptions = array(Tinebase_Acl_Rights::MANAGE_SHARED_FOLDERS => array('text' => $translate->_('manage shared task lists'), 'description' => $translate->_('Create new shared tasks lists')), Tinebase_Acl_Rights::MANAGE_SHARED_FAVORITES => array('text' => $translate->_('manage shared tasks favorites'), 'description' => $translate->_('Create or update shared tasks favorites')));
     $rightDescriptions = array_merge($rightDescriptions, parent::getTranslatedRightDescriptions());
     return $rightDescriptions;
 }
 /**
  * get translated right descriptions
  * 
  * @return  array with translated descriptions for this applications rights
  */
 public static function getTranslatedRightDescriptions()
 {
     $translate = Tinebase_Translation::getTranslation('Projects');
     $rightDescriptions = array(self::MANAGE_SHARED_PROJECT_FAVORITES => array('text' => $translate->_('Manage shared project favorites'), 'description' => $translate->_('Create new shared project favorites')));
     $rightDescriptions = array_merge($rightDescriptions, parent::getTranslatedRightDescriptions());
     return $rightDescriptions;
 }
 /**
  * only return admin / run rights
  * 
  * @return  array with translated descriptions for admin and run rights
  * 
  * @todo this should be called in getTranslatedRightDescriptions / parent::getTranslatedRightDescriptions() renamed
  */
 public static function getTranslatedBasicRightDescriptions()
 {
     return parent::getTranslatedRightDescriptions();
 }
 /**
  * get translated right descriptions
  * 
  * @return  array with translated descriptions for this applications rights
  */
 public static function getTranslatedRightDescriptions()
 {
     $translate = Tinebase_Translation::getTranslation('Admin');
     $rightDescriptions = array(self::MANAGE_ACCESS_LOG => array('text' => $translate->_('manage access log'), 'description' => $translate->_('delete access log entries')), self::MANAGE_ACCOUNTS => array('text' => $translate->_('manage accounts'), 'description' => $translate->_('add and edit users and groups, add group members, change user passwords')), self::MANAGE_APPS => array('text' => $translate->_('manage applications'), 'description' => $translate->_('enable and disable applications, edit application settings')), self::MANAGE_ROLES => array('text' => $translate->_('manage roles'), 'description' => $translate->_('add and edit roles, add new members to roles, add application rights to roles')), self::MANAGE_SHARED_TAGS => array('text' => $translate->_('manage shared tags'), 'description' => $translate->_('add, delete and edit shared tags')), self::MANAGE_COMPUTERS => array('text' => $translate->_('manage computers'), 'description' => $translate->_('add, delete and edit (samba) computers')), self::MANAGE_CONTAINERS => array('text' => $translate->_('manage containers'), 'description' => $translate->_('add, delete and edit containers and manage container grants')), self::MANAGE_CUSTOMFIELDS => array('text' => $translate->_('manage customfields'), 'description' => $translate->_('add and edit customfields')), self::VIEW_ACCESS_LOG => array('text' => $translate->_('view access log'), 'description' => $translate->_('view access log list')), self::VIEW_ACCOUNTS => array('text' => $translate->_('view accounts'), 'description' => $translate->_('view accounts list and details')), self::VIEW_APPS => array('text' => $translate->_('view applications'), 'description' => $translate->_('view applications list and details')), self::VIEW_ROLES => array('text' => $translate->_('view roles'), 'description' => $translate->_('view roles list and details')), self::VIEW_COMPUTERS => array('text' => $translate->_('view computers'), 'description' => $translate->_('view computers list and details')), self::VIEW_CONTAINERS => array('text' => $translate->_('view containers'), 'description' => $translate->_('view personal and shared containers')), self::VIEW_CUSTOMFIELDS => array('text' => $translate->_('view customfields'), 'description' => $translate->_('view customfields list')), self::VIEW_SERVERINFO => array('text' => $translate->_('view serverinfo'), 'description' => $translate->_('view serverinfo list')));
     $rightDescriptions = array_merge($rightDescriptions, parent::getTranslatedRightDescriptions());
     return $rightDescriptions;
 }
示例#9
0
 /**
  * get translated right descriptions
  * 
  * @return  array with translated descriptions for this applications rights
  */
 public static function getTranslatedRightDescriptions()
 {
     $translate = Tinebase_Translation::getTranslation('Crm');
     $rightDescriptions = array(self::MANAGE_LEADS => array('text' => $translate->_('manage leads'), 'description' => $translate->_('add, edit and delete leads')), Tinebase_Acl_Rights::MANAGE_SHARED_FOLDERS => array('text' => $translate->_('manage shared lead folders'), 'description' => $translate->_('Create new shared lead folders')), Tinebase_Acl_Rights::MANAGE_SHARED_FAVORITES => array('text' => $translate->_('manage shared leads favorites'), 'description' => $translate->_('Create or update shared leads favorites')));
     $rightDescriptions = array_merge($rightDescriptions, parent::getTranslatedRightDescriptions());
     return $rightDescriptions;
 }
 /**
  * get translated right descriptions
  * 
  * @return  array with translated descriptions for this applications rights
  */
 public static function getTranslatedRightDescriptions()
 {
     $translate = Tinebase_Translation::getTranslation('Courses');
     $rightDescriptions = array(self::ADD_NEW_USER => array('text' => $translate->_('Add new user'), 'description' => $translate->_('Add new user as member to a course')), self::ADD_EXISTING_USER => array('text' => $translate->_('Add existing user'), 'description' => $translate->_('Add existing user as member to a course')), self::MANAGE_SHARED_COURSE_FAVORITES => array('text' => $translate->_('Manage shared courses favorites'), 'description' => $translate->_('Create or update shared courses favorites')));
     $rightDescriptions = array_merge($rightDescriptions, parent::getTranslatedRightDescriptions());
     return $rightDescriptions;
 }
示例#11
0
 /**
  * get translated right descriptions
  * 
  * @return  array with translated descriptions for this applications rights
  */
 public static function getTranslatedRightDescriptions()
 {
     $translate = Tinebase_Translation::getTranslation('Tinebase');
     $rightDescriptions = array(self::REPORT_BUGS => array('text' => $translate->_('Report bugs'), 'description' => $translate->_('Report bugs to the software vendor directly when they occur.')), self::CHECK_VERSION => array('text' => $translate->_('Check version'), 'description' => $translate->_('Check for new versions of this software.')), self::MANAGE_OWN_PROFILE => array('text' => $translate->_('Manage own profile'), 'description' => $translate->_('The right to manage the own profile (selected contact data).')), self::MANAGE_OWN_STATE => array('text' => $translate->_('Manage own client state'), 'description' => $translate->_('The right to manage the own client state.')));
     $rightDescriptions = array_merge($rightDescriptions, parent::getTranslatedRightDescriptions());
     return $rightDescriptions;
 }
 /**
  * get translated right descriptions
  * 
  * @return  array with translated descriptions for this applications rights
  */
 public static function getTranslatedRightDescriptions()
 {
     $translate = Tinebase_Translation::getTranslation('Filemanager');
     $rightDescriptions = array(Tinebase_Acl_Rights::MANAGE_SHARED_FOLDERS => array('text' => $translate->_('manage shared folders'), 'description' => $translate->_('Create new shared folders')), self::MANAGE_DOWNLOADLINKS => array('text' => $translate->_('Manage anonymous download links'), 'description' => $translate->_('Allow to see, add and delete download links of files and folders')));
     $rightDescriptions = array_merge($rightDescriptions, parent::getTranslatedRightDescriptions());
     return $rightDescriptions;
 }
 /**
  * get translated right descriptions
  * 
  * @return  array with translated descriptions for this applications rights
  */
 public static function getTranslatedRightDescriptions()
 {
     $translate = Tinebase_Translation::getTranslation('ActiveSync');
     $rightDescriptions = array(self::MANAGE_DEVICES => array('text' => $translate->_('Manage ActiveSync devices'), 'description' => $translate->_('See, edit and delete ActiveSync devices')));
     $rightDescriptions = array_merge($rightDescriptions, parent::getTranslatedRightDescriptions());
     return $rightDescriptions;
 }
示例#14
0
 /**
  * get right description
  * 
  * @param   string right
  * @return  array with text + description
  */
 public function getRightDescription($_right)
 {
     $result = parent::getRightDescription($_right);
     $rightDescriptions = self::getTranslatedRightDescriptions();
     if (isset($rightDescriptions[$_right])) {
         $result = $rightDescriptions[$_right];
     }
     return $result;
 }
 /**
  * get translated right descriptions
  * 
  * @return  array with translated descriptions for this applications rights
  */
 public static function getTranslatedRightDescriptions()
 {
     $translate = Tinebase_Translation::getTranslation('Sales');
     $rightDescriptions = array(self::MANAGE_PRODUCTS => array('text' => $translate->_('manage products'), 'description' => $translate->_('add, edit and delete products')), self::MANAGE_CONTRACTS => array('text' => $translate->_('manage contracts'), 'description' => $translate->_('add, edit and delete contracts')), self::MANAGE_COSTCENTERS => array('text' => $translate->_('manage cost centers'), 'description' => $translate->_('add, edit and delete cost centers')), self::MANAGE_CUSTOMERS => array('text' => $translate->_('manage customers'), 'description' => $translate->_('add, edit and delete customers')), self::MANAGE_SUPPLIERS => array('text' => $translate->_('manage suppliers'), 'description' => $translate->_('add, edit and delete suppliers')), self::MANAGE_INVOICES => array('text' => $translate->_('manage invoices'), 'description' => $translate->_('add, edit and delete invoices')), self::MANAGE_DIVISIONS => array('text' => $translate->_('manage divisions'), 'description' => $translate->_('add, edit and delete divisions')), self::MANAGE_ORDERCONFIRMATIONS => array('text' => $translate->_('manage order confirmations'), 'description' => $translate->_('add, edit and delete order confirmations')), self::MANAGE_OFFERS => array('text' => $translate->_('manage offers'), 'description' => $translate->_('add, edit and delete offers')), self::MANAGE_PURCHASE_INVOICES => array('text' => $translate->_('manage purchase invoices'), 'description' => $translate->_('add, edit and delete purchase invoices')), self::CHANGE_OC_NUMBER => array('text' => $translate->_('change number of an order confirmations'), 'description' => $translate->_('allow to change the number of an order confirmation on update')), self::SET_INVOICE_NUMBER => array('text' => $translate->_('set number of invoices'), 'description' => $translate->_('allow to set the number of an invoice')));
     $rightDescriptions = array_merge($rightDescriptions, parent::getTranslatedRightDescriptions());
     return $rightDescriptions;
 }
示例#16
0
 /**
  * get translated right descriptions
  * 
  * @return  array with translated descriptions for this applications rights
  */
 public static function getTranslatedRightDescriptions()
 {
     $translate = Tinebase_Translation::getTranslation('Sales');
     $rightDescriptions = array(self::MANAGE_PRODUCTS => array('text' => $translate->_('manage products'), 'description' => $translate->_('add, edit and delete products')));
     $rightDescriptions = array_merge($rightDescriptions, parent::getTranslatedRightDescriptions());
     return $rightDescriptions;
 }
 /**
  * get translated right descriptions
  * 
  * @return  array with translated descriptions for this applications rights
  */
 public static function getTranslatedRightDescriptions()
 {
     $translate = Tinebase_Translation::getTranslation('Addressbook');
     $rightDescriptions = array(Tinebase_Acl_Rights::MANAGE_SHARED_FOLDERS => array('text' => $translate->_('manage shared addressbooks'), 'description' => $translate->_('Create new shared addressbook folders')), self::MANAGE_SHARED_CONTACT_FAVORITES => array('text' => $translate->_('manage shared addressbook favorites'), 'description' => $translate->_('Create or update shared addressbook favorites')));
     $rightDescriptions = array_merge($rightDescriptions, parent::getTranslatedRightDescriptions());
     return $rightDescriptions;
 }
 /**
  * get translated right descriptions
  * 
  * @return  array with translated descriptions for this applications rights
  */
 public static function getTranslatedRightDescriptions()
 {
     $translate = Tinebase_Translation::getTranslation('Addressbook');
     $rightDescriptions = array(Tinebase_Acl_Rights::MANAGE_SHARED_FOLDERS => array('text' => $translate->_('manage shared addressbooks'), 'description' => $translate->_('Create new shared addressbook folders')), self::MANAGE_SHARED_CONTACT_FAVORITES => array('text' => $translate->_('manage shared addressbook favorites'), 'description' => $translate->_('Create or update shared addressbook favorites')), self::MANAGE_CORE_DATA_LISTS => array('text' => $translate->_('Manage lists in CoreData'), 'description' => $translate->_('View, create, delete or update lists in CoreData application')), self::MANAGE_CORE_DATA_LIST_ROLES => array('text' => $translate->_('Manage list roles in CoreData'), 'description' => $translate->_('View, create, delete or update list roles in CoreData application')));
     $rightDescriptions = array_merge($rightDescriptions, parent::getTranslatedRightDescriptions());
     return $rightDescriptions;
 }
示例#19
0
 /**
  * get translated right descriptions
  * 
  * @return  array with translated descriptions for this applications rights
  */
 public static function getTranslatedRightDescriptions()
 {
     $translate = Tinebase_Translation::getTranslation('Felamimail');
     $rightDescriptions = array(self::MANAGE_ACCOUNTS => array('text' => $translate->_('manage email accounts'), 'description' => $translate->_('Edit and delete email accounts')), self::ADD_ACCOUNTS => array('text' => $translate->_('Add email accounts'), 'description' => $translate->_('Create new email accounts')));
     $rightDescriptions = array_merge($rightDescriptions, parent::getTranslatedRightDescriptions());
     return $rightDescriptions;
 }
 /**
  * get translated right descriptions
  * 
  * @return  array with translated descriptions for this applications rights
  */
 public static function getTranslatedRightDescriptions()
 {
     $translate = Tinebase_Translation::getTranslation('Timetracker');
     $rightDescriptions = array(self::MANAGE_TIMEACCOUNTS => array('text' => $translate->_('Manage timeaccounts'), 'description' => $translate->_('Add, edit and delete timeaccounts (includes all timesheet grants)')), self::ADD_TIMEACCOUNTS => array('text' => $translate->_('Add timeaccounts'), 'description' => $translate->_('Add timeaccounts')), self::MANAGE_SHARED_TIMEACCOUNT_FAVORITES => array('text' => $translate->_('Manage shared timeaccount favorites'), 'description' => $translate->_('Create or update shared timeaccount favorites')), self::MANAGE_SHARED_TIMESHEET_FAVORITES => array('text' => $translate->_('Manage shared timesheet favorites'), 'description' => $translate->_('Create or update shared timesheet favorites')));
     $rightDescriptions = array_merge($rightDescriptions, parent::getTranslatedRightDescriptions());
     return $rightDescriptions;
 }