Thanks for your reply.
My confusion is about "object" when it is not a table. For one thing, the
appadmin interface seems to force the object to be a table--it is chosen
from the drop down box of available tables. Do I have to create a dummy
table for each of these permission objects?
Beyon
You can do it with code:
1.
auth.add_permission(group_id, 'name', 'object', record_id)
gives permission "name" (user defined) on the object "object" (also user
defined) to members of the group group_id. If "object" is a tablename then
the permission can refer to the entire table by setting rec
2 matches
Mail list logo