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" <i...@alpiron.com> wrote:

> 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 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" <i...@alpiron.com> wrote:
>>
>>> 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/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 a topic in the
>>> Google Groups "web2py-users" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>>> pic/web2py/J7xDgqtJTvE/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> web2py+un...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/web2py/J7xDgqtJTvE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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