initial profile creation does not list all organizations from LDAP
When users first start Morpho, they must create a profile and choose from the organizations listed in the dropdown, which does not include all of the organizations in LDAP. This list is only updated when the Access control list is refreshed from the Access information dialog. We need to change this so that the accesslist.xml is refreshed the first time that morpho starts (but not upon every startup which is too time consuming). This needs to occur before the New Profile... dialog is shown so that users can choose an organization from the refreshed list.
#1 Updated by ben leinfelder over 14 years ago
Would it be too onerous for the new user to push a button ("Refresh Organization List") when they are making a new profile and see that their organization is not on the existing list? It's probably a nice thing to have such a button anyway and saves us the hassle of determining how often Morpho should refresh its list (since it would be silly to do it on start up every time as you say).
#2 Updated by Shaun Walbridge over 14 years ago
Another alternative (though perhaps overengineering the problem) -- generate a revision number of the list, have Morpho just check its number against the current one serverside. One packet each way, and the update process only happens if these lists differ.
This'll also avoid having the first startup as a special case.
#3 Updated by Matt Jones over 14 years ago
There is no list server side - its just an XML serialization of an LDAP query, including distributed referral LDAPs. So, any addition or deletion to any LDAP server in the KNB network could trigger a needed change to the list. When Sid did the Access control list refresh button, we decided it was good enough to let the user choose when to refresh -- usually when the account they were looking for does not exist (although it also refreshes the first time the Access dialog is opened in Morpho just to sync up the first time no matter what). A similar 'Refresh list' option might work well for the profile dialog. I wonder if it should also be exposed as a menu item so that a user can refresh the list anytime Morpho is open, and not just when they are in the Profile or Access control dialogs?