function setPermissions() {
      // check permissions to set read only
      table.setReadOnly(!table.permission.hasWriteAccess(self.user));
    }
Bind the keystrokes associated with menu actions
alt + <- : show right menu
alt + -> : hide right menu
alt + c : toggle carto
alt + s : toggle sql
@method keyBind