Hello All I try to implement User Management via privileged users ( http://web2py.com/books/default/chapter/29/09?search=User+Management+via+privileged+users#User-Management-via-privileged-users-%28Experimental%29 )
In my db.py, I added the following line after creating my auth object auth.settings.manager_group_role = 'manager' I also copy/paste the new appadmin controller and the new appadmin.html view from Welcome app In the menu I added the appadmin link URL('appadmin','auth_manage') But when I log in my app with a "manager" user and I clic on appadmin link I got an error : <type 'exceptions.AttributeError'> 'NoneType' object has no attribute '_plural' Version web2py™ Version 2.5.1-stable+timestamp.2013.06.06.15.39.19 Python Python 2.7.3: C:\Python27\python.exe (prefix: C:\Python27) Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Traceback (most recent call last): File "C:\Users\___\Google Drive\web2py\gluon\restricted.py", line 212, in restricted exec ccode in environment File "C:/Users/___/Google Drive/web2py/applications/ud/controllers/appadmin.py" <http://127.0.0.1:8000/admin/default/edit/udsp25/controllers/appadmin.py>, line 615, in <module> File "C:\Users\___\Google Drive\web2py\gluon\globals.py", line 194, in <lambda> self._caller = lambda f: f() File "C:/Users/___/Google Drive/web2py/applications/ud/controllers/appadmin.py" <http://127.0.0.1:8000/admin/default/edit/udsp25/controllers/appadmin.py>, line 590, in auth_manage auth.settings.table_user._plural = T('Users') AttributeError: 'NoneType' object has no attribute '_plural' Do you know where I am wrong? Thank you -- --- 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. For more options, visit https://groups.google.com/groups/opt_out.