fix virtual relation detection: erschema is no more a relation type but a relation def in _synchronize_permissions
functionset_tab(tabname,cookiename){// set appropriate cookieasyncRemoteExec('set_cookie',cookiename,tabname);// trigger show + tabname eventtrigger_load(tabname);}