[web2py] Re: Disabling/Limiting Access To Profile

2014-07-29 Thread 黄祥
On Wednesday, July 30, 2014 6:20:17 AM UTC+7, Anthony wrote: > > On Tuesday, July 29, 2014 6:04:25 PM UTC-4, 黄祥 wrote: >> >> please try : >> *models/db.py* >> settings.actions_disabled = ['profile'] >> > > Should be auth.settings.actions_disabled. > > yes you are right, my bad, i'm just take the

[web2py] Re: Disabling/Limiting Access To Profile

2014-07-29 Thread Anthony
On Tuesday, July 29, 2014 6:04:25 PM UTC-4, 黄祥 wrote: > > please try : > *models/db.py* > settings.actions_disabled = ['profile'] > Should be auth.settings.actions_disabled. Anthony -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Sou

[web2py] Re: Disabling/Limiting Access To Profile

2014-07-29 Thread 黄祥
please try : *models/db.py* settings.actions_disabled = ['profile'] best regards, stifan -- 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 thi

[web2py] Re: Disabling/Limiting Access To Profile

2014-07-29 Thread lyn2py
Try, def user(): if request.args(0)=="profile": redirect(to_some_url) ... On Wednesday, July 30, 2014 4:48:45 AM UTC+8, Mark Billion wrote: > > I want to prevent users from accessing their profile and changing data > after registration. Is there a way to disable > http://...