Thanks Anthony. I saw the answer you posted about 4 hrs ago.
Kind regards

On Tue, Mar 24, 2015 at 3:38 AM, Anthony <[email protected]> wrote:

> See the answer here: http://stackoverflow.com/a/29222859/440323
>
> On Monday, March 23, 2015 at 12:10:22 PM UTC-4, Maurice Waka wrote:
>
>> I tried a Reddit app where one can view posts and comments.
>> My trouble is getting the user t be the only one to view the Posts
>> instead of public view(all postS seen by everyone)
>> How do I limit that?
>> I tried:
>> @auth.requires_signature()
>> def view_posts_by_author():
>>     ...code
>>     return locals()
>>
>> but this does not help
>>
>> Rgards
>>
>>  --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/1RxdnkozPVE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to