On 18 sep, 15:03, Fred <[email protected]> wrote:
> Jose,  I have an app with an auth/permission scheme similar to yours
> and it works fine.  I assume that in your auth_permission data where
> you say "id_group" you mean "auth_permission.group_id".  In that

Yes

> table, are the "table_name" column values blank?  And are the
> "record_id" values 0?  That's what I have for a case that works.

Now it is. Turns out he table_name = None, now switched to table_name
=''and it works.

Reading this portion of text book:

• auth permission
links groups and permissions. A permission is iden-
tified by a name and, optionally, a table and a record. For example,
members of a certain group can have "update" permissions on a specific
record of a specific table.

had previously tested with a table name and I had not worked.

Thanks Fred
Jose

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to