Yes, it seems to be a combination of bug and usergroup setup, imo.  I
was saying to try setting the field to |true thinking that would prevent
the default value of 0 from being set, since it's equivalent to 'not
set'.  This happens for add forms, I know, but I was unsure of how edit
forms would handle that markup.

-- 
You received this bug notification because you are a member of Aiki
Framework Admins, which is subscribed to aikiframework.
https://bugs.launchpad.net/bugs/940869

Title:
  dynamic select menu when editing user group defaults to 0 when
  group_level > (1) and user is admin

Status in Aiki Framework:
  New

Bug description:
  When following the suggestion for how to edit a usergroup using
  dynamic select menu:

  usergroup|admin:User Group:aiki_users_groups:id:name:where group_level
  > (2) and group_level < (100)

  The output looks like this:

  <div class="usergroup field"><label for="usergroup">User
  Group</label><select name="usergroup" dir=""><option value="0">Please
  Select</option><option value="5">Administrators</option><option
  value="6">Editors</option><option
  value="7">Visitors</option></select></div>

  If you don't select a usergroup (because you are editing a user
  quickly), then the usergroup gets set to 0! That shuts the user out of
  the system.

To manage notifications about this bug go to:
https://bugs.launchpad.net/aikiframework/+bug/940869/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~aikiframework.admins
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework.admins
More help   : https://help.launchpad.net/ListHelp

Reply via email to