public function Guacamole_User_Permission($user = null, $affectedUser = null, $permission = "Il n'y a pas de permission")
 {
     if (is_null($user)) {
         $user = Guacamole_UserDAL::findByDefault();
         $this->user = $user;
     } else {
         $this->user = $user;
     }
     if (is_null($affectedUser)) {
         $affectedUser = Guacamole_UserDAL::findByDefault();
         $this->affectedUser = $affectedUser;
     } else {
         $this->affectedUser = $affectedUser;
     }
     $this->permission = $permission;
 }
 public function Guacamole_Connection_Permission($user = null, $connection = null, $permission = "Il n'y a pas de permission")
 {
     if (is_null($user)) {
         $user = Guacamole_UserDAL::findByDefault();
         $this->user = $user;
     } else {
         $this->user = $user;
     }
     if (is_null($connection)) {
         $connection = Guacamole_ConnectionDAL::findByDefault();
         $this->connection = $connection;
     } else {
         $this->connection = $connection;
     }
     $this->permission = $permission;
 }