I have some more information about where the problem is coming from.

My users list contains users who are Systems Administrators.

However, I don't want anyone to be able to make anyone else a Systems
Administrator or Modules Administrator. So I use the group_level > (2)
to enforce that.

However, I think because the aiki form can't match the group_level of
the SystemGOD to an item in the list, it defaults to 0.

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

Title:
  dynamic select menu when editing user group defaults to 0

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-devel
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~aikiframework-devel
More help   : https://help.launchpad.net/ListHelp

Reply via email to