public function __construct()
 {
     parent::__construct();
     $this->so = controller_sodocument::get_instance();
     $this->so_procedure = controller_soprocedure::get_instance();
     $this->read = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_READ, 'controller');
     //1
     $this->add = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_ADD, 'controller');
     //2
     $this->edit = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_EDIT, 'controller');
     //4
     $this->delete = $GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_DELETE, 'controller');
     //8
 }