I am looking to allow users to create their own groups and have
members. Which is more effecient:

Table Inheritance:
db.define_table('user_groups', db.auth_group,
Field('name') ...........ect.......))

or
Extend auth_group:

db.define_table(
   auth.settings.table_user_group,
  Field('role', length=512, default='',
label=auth.messages.label_role),
  Field('description', 'text',
label=auth.messages.label_description),
  Field('name', length=128, default='', unique=True))

custom_auth_group = db[auth.settings.table_user_group]

# auth.define_tables()

Thanks in advance for any help!!

Reply via email to