Yes in two ways. You can set permission on a controller function with
@auth.requires_login()
def index():
...
return dict()
OR in the view you can do
{{if auth.user:}}
this content is only visible to logged in users
{{pass}}
On Oct 2, 8:33 pm, iu_long <[email protected]> wrote:
> Hi all,
> I am new to web2py and I was wondering how can I make content in views
> seen only by logged in users?
>
> Can anyone enlighten me :)
> Cheers !
> Iu

