def make_suite_tables(self, suite=None): if suite is None: suite = self.current tables = suite_tables(suite) for table in tables: self.create_table(table) self.execute(grant_public([t.name for t in tables]))
def make_suite_tables(self, suite=None): suite, ignore = self._mod_suite(suite) tables = suite_tables(suite) for table in tables: self.create_table(table) #self.execute(grant_public([t.name for t in tables])) paella_select = grant_user('SELECT', [t.name for t in tables], 'paella') self.execute(paella_select)
def make_suite_tables(self, suite=None): suite, ignore = self._mod_suite(suite) tables = suite_tables(suite) for table in tables: self.create_table(table) # self.execute(grant_public([t.name for t in tables])) paella_select = grant_user("SELECT", [t.name for t in tables], "paella") self.execute(paella_select)