'Define permissions table, invoked by AuthS3.define_tables()'

def define_table(self, migrate=True, fake_migrate=False):

    table_group = self.auth.settings.table_group
    if (table_group is None):
        table_group = 'integer'
    if (not self.table):
        db = current.db
        db.define_table(self.tablename, Field('group_id', table_group), Field('controller', length=64), Field('function', length=512), Field('tablename', length=512), Field('record', 'integer'), Field('oacl', 'integer', default=self.ALL), Field('uacl', 'integer', default=self.READ), Field('entity', 'integer'), Field('unrestricted', 'boolean', default=False), migrate=migrate, fake_migrate=fake_migrate, *((s3_uid() + s3_timestamp()) + s3_deletion_status()))
        self.table = db[self.tablename]
