Thanks for your answer. I am trying to understand. On 7 September 2010 16:48, mdipierro <[email protected]> wrote: > It is a logic issue. ... > You do not want to register the callback with "register_onaccept". you > want to set these once for all: > > auth.add_permission(group_id, 'read', table) > auth.add_permission(group_id, 'create', table) > auth.add_permission(group_id, 'select', table) > > perhaps in a configuratuon script and these > > auth.add_permission(group_id, 'update', table, id) > auth.add_permission(group_id, 'delete', table, id) > > should be registered with crud.settings.create_onaccept.tablename
I was trying to follow the example in the book. Do I understand you correctly that I should not call this from the controller handling the form but that it can be set for example in the models and that it will be true for all tables? Regards Johann -- "Be not deceived; God is not mocked: for whatsoever a man soweth, that shall he also reap." Galatians 6:7

