[web2py:15762] Access Control in a List

2009-02-02 Thread kellda
(records=records) and a view with {{for record in }} How can I do this? Thanks in advance kellda --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, se

[web2py:15813] Re: Access Control in a List

2009-02-03 Thread kellda
Thanks Massimo > Mind that the new web2py will have new methods to deal with this > instead of T2. Is this in the 1.55 Version or in a newer one? Thanks Daniel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2

[web2py:17534] How to get values für multiple field (many2many)

2009-03-05 Thread kellda
I have the following tables db.define_table('tag', SQLField('name',requires=[IS_NOT_EMPTY(),IS_NOT_IN_DB (db,'tag.name')] )) db.define_table('bookmark', SQLField('title', requires=IS_NOT_EMPTY() ), SQLField('tag','text'), ... db.bookmark.tag.requires=IS_IN_DB (db,'tag.id','tag.nam

[web2py:18969] How to use has_permission in a list of records

2009-04-02 Thread kellda
Using auth.has_permission for a single record (update, read) is clear for me but how to check the permission in a form with a list of records? def list(): records=db((db.test.id>0)).select() return dict(records=records) how to filter only the records with the permission? Do I have to che

[web2py:18980] Re: How to use has_permission in a list of records

2009-04-02 Thread kellda
Thanks for fast answer. Such a method would be nice. Daniel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscri