Yes, I got bitten by this too. My opinion is that this decorator (and
others like it) should start commented out. These little obstacles can make
those first weeks unnecessarily harder.

On Wed, 23 Sep 2020, 1:18 pm BigBaaadBob, <bigbaaad...@gmail.com> wrote:

> Yes, thanks. I’m just surprised this doesn’t work In the Welcome
> application out of the box. I’m not writing a new application; I’m just
> clicking on the buttons provided in unchanged freshly cloned code.
>
> On Tuesday, September 22, 2020 at 11:04:00 AM UTC-7 Константин Комков
> wrote:
>
>> Hello! You need to comment decorator #@auth.requires_membership('admin')
>> or add your user in 'admin' group see chapter 9 Access Control in The book.
>> Also set table name, forexample:
>> tablename = 'auth_user'
>>
>>
>>
>> --
> 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 web2py+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/e9a55652-c0f7-40f9-8e60-6d8c6fed033dn%40googlegroups.com
> <https://groups.google.com/d/msgid/web2py/e9a55652-c0f7-40f9-8e60-6d8c6fed033dn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CACWMBMPacmUXQiqbuou%2BJrWx3_eBn2CApHD3M_Aq9xh3hY8QhA%40mail.gmail.com.

Reply via email to