Got it, thank you very much! On Thursday, June 9, 2022 at 4:54:26 AM UTC-4 [email protected] wrote:
> In controllers/default.py, inside *user* function set *readable* and > *writable* to *False* for the fields that you want to hide. > > def user(): > > * db.auth_user.field_name.readable = False > db.auth_user.field_name.writable = False* > return dict(form=auth()) > > On Wednesday, June 8, 2022 at 2:02:54 AM UTC+5:30 Vlad wrote: > >> I added a few fields to auth_user, but they are for internal usage, so I >> don't want users to see those when they are logged in. How do I manage the >> visibility of the fields in the user profile? >> > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/376f8875-60fb-40cb-8a6e-404f5a740a86n%40googlegroups.com.

