If we add a field in the user table where we can put the group ID the user
can pick?

requires=IS_IN_SET(['group_ID1','group_ID2'])

The user is already allowed to change it profile and he can only pick a
restricted plage of group ID.

Then we need a function to synchronise the value in the new auth_user field
with the auth_membership.group_id...

It's not very elegant.

Richard

On Fri, Sep 17, 2010 at 10:10 AM, Richard Vézina <
ml.richard.vez...@gmail.com> wrote:

> Implement something is quite a bit over my skill... But I can post the
> solution I found with.
>
> As far as I can see we need :
>
> - a list of user authorized to change of group
> - per user a restricted plage of group that the user can pick
> - eventually the history of the membership change (that could be acheive
> with crud.archive)
> - ...
>
> Richard
>
>
> On Fri, Sep 17, 2010 at 9:56 AM, mdipierro <mdipie...@cs.depaul.edu>wrote:
>
>> no and it is very much needed. Any takers?
>>
>> On Sep 17, 8:50 am, Richard Vézina <ml.richard.vez...@gmail.com>
>> wrote:
>> > Hello,
>> >
>> > I need to let some of my user changing of membership into a plage of
>> > existing members number. Is there mechanism already existing in web2py
>> or do
>> > I have to program it from scratch?
>> >
>> > Thanks
>> >
>> > Richard
>>
>
>

Reply via email to