El Thu, 14 May 2015 09:58:14 +0000
"Jason (spot) Brower" <encomp...@gmail.com> escribió:

> I am building a database that needs to be very secure for all those
> "just in case" situations.
> I want to restrict the database access based on roles that I setup.
> Does web2py even have this functionality or is this something I have
> to do with SQLAlchemy or something?
> BR,
> Jason Brower
> 

You should check documentation about auth.has_permission and
auth.has_membership, that should work straight forward by checking the
current session's user to apply rules.

Marco.

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to