[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/sitemgr/inc/ -> class.ACL_BO.inc.php (sommaire)

(pas de description)

Poids: 200 lignes (5 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

ACL_BO:: (17 méthodes):
  ACL_BO()
  is_admin()
  set_adminlist()
  remove_location()
  copy_permissions()
  grant_permissions()
  get_user_permission_list()
  get_group_permission_list()
  get_permission_list()
  category_acl()
  can_read_category()
  can_write_category()
  get_group_list()
  get_simple_group_list()
  get_simple_list()
  get_simple_user_list()
  get_user_list()


Classe: ACL_BO  - X-Ref

ACL_BO()   X-Ref
Pas de description

is_admin($site_id=0)   X-Ref
Checks if user is admin of the specified site

param: int $site_id=0 id of the site, default to current site
return: boolean

set_adminlist($site_id,$account_list)   X-Ref
Pas de description

remove_location($category_id)   X-Ref
Pas de description

copy_permissions($fromcat,$tocat)   X-Ref
Pas de description

grant_permissions($user, $category_id, $can_read, $can_write)   X-Ref
Pas de description

get_user_permission_list($category_id)   X-Ref
Pas de description

get_group_permission_list($category_id)   X-Ref
Pas de description

get_permission_list($category_id, $acct_type='both')   X-Ref
Pas de description

category_acl($category_id)   X-Ref
retrives the ACL for a given category

for the toplevel site_category, there is only an implicit ACL: everybody can read it, site-Admins can change it

param: int $category_id
return: int EGW_ACL_READ | EGW_ACL_ADD depending on the rights

can_read_category($category_id)   X-Ref
checks if user can read a given category

for the toplevel site_category, there is only an implicit ACL: everybody can read it, site-Admins can change it

param: int $category_id
return: boolean

can_write_category($category_id)   X-Ref
checks if user can write / change a given category

for the toplevel site_category, there is only an implicit ACL: everybody can read it, site-Admins can change it

param: int $category_id
return: boolean

get_group_list()   X-Ref
Pas de description

get_simple_group_list()   X-Ref
Pas de description

get_simple_list($acct_type='')   X-Ref
Pas de description

get_simple_user_list()   X-Ref
Pas de description

get_user_list()   X-Ref
Pas de description



Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7