Since upgrading to release 2.3.2 of web2py my smartgrid code for managing
users is showing more reference table buttons that I designed. After some
investigation I see that changes to fix issue #1160 are causing the issue.
I have reverted the changes to the sqlhtml.py file to return my code to
working order. I want to show the reference button for auth_membership but
don't care to see buttons for the links to auth_membership.created_by and
auth_membership.modified_by. Is there a way to hide these buttons with the
new version.
I believe the code as it originally was is the correct implementation and
the manual code should be updated to add the following cod
@auth.requires_membership('manager')
def manage():
db.comment.image_id.readable = True
grid = SQLFORM.smartgrid(db.image)
return dict(grid=grid)
What do others think?
Dan
--