On Thursday, February 15, 2018 at 4:14:39 AM UTC-5, icodk wrote:
>
> It is getting muddy...
> What about the different messages I want to show depending on the type of
> user ?
>
Just use conditional logic to change the auth settings and any relevant
code in the user() action and user.html view.
I would think you could manage that by conditioning response.flash messages
with auth.is_member tests.
Also, have you played around with the user method of default.py?
Jim
On Feb 15, 2018 3:14 AM, "icodk" wrote:
> It is getting muddy...
> What about the different messages I want to show dep
On Thursday, February 15, 2018 at 1:14:39 AM UTC-8, icodk wrote:
>
> It is getting muddy...
> What about the different messages I want to show depending on the type of
> user ?
>
>
Where are you wanting to show these messages? At registration, or on a
page for showing or entering data?
For th
It is getting muddy...
What about the different messages I want to show depending on the type of
user ?
On Thursday, February 15, 2018 at 12:00:44 AM UTC+1, Jim S wrote:
>
> So, then maybe you just add users and they all get departmental access and
> then have a button on the site where they can
So, then maybe you just add users and they all get departmental access and
then have a button on the site where they can request admin access?
Then you can add them to an admin group that would give access to all
features.
Would that help?
Jim
On Feb 14, 2018 4:38 PM, "icodk" wrote:
> That w
That was fast response😊
Thanks.
Not sure it is an issue but for the departmental user registration, i want to
use different messages, and handling. For example, departmental user should be
approved automatically, while main users manually.
--
Resources:
- http://web2py.com
- http://web2py.com/b
Sounds to me like the authorization system in web2py would work perfectly.
Give a set of users access to a subset of the functionality.
Have you read
through http://web2py.com/books/default/chapter/29/09/access-control?
Using auth_group, auth_membership and auth_permission along with the metho
7 matches
Mail list logo