You have to be explicit
auth.add_permission('change attribute xyz',db.table)
auth.has_permission('change attribute xyz',db.table)
if not auth.has_permission('change attribute xyz',db.table):
db.table.xyz.writable=False
etc. etc.
On Aug 19, 3:13 pm, newbie_web2py <[email protected]> wrote:
> Is it possible to set permissions for attributes of Table i.e., like
> some attributes are to be changed by only some groups of users.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---