If the field has to have SOME value, and if that value CAN'T be 1, then every time an 'admin' edits a SystemGOD, the SystemGOD can't stay a SystemGOD. You see?
One solution is to use more a more complicated widget set up which delivers one of FOUR forms depending on permission level: normal - no form, just show the values admin - edit form, but only can change usergroup if admin or lower (requires two different forms) SystemGOD - edit form, can change everything This is probably just bad usergroup design on my part. My form needs three levels of permission when Aiki only easily gives you two. What I did is just remove SystemGOD entirely from the front-end, so that regular admin does not even see that SystemGOD exists, and has no way to make anyone else a SystemGOD. -- 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 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-devel Post to : aikiframework-devel@lists.launchpad.net Unsubscribe : https://launchpad.net/~aikiframework-devel More help : https://help.launchpad.net/ListHelp