fixed listTables permission admin session check