Details
Description
Most day-to-day use of the Grouper UI at Brown requires instructional technology staff to add members to groups. Currently, the Find New Members page lists 7 privileges (member, optin, optout, view, read, update, and admin). Staff were forgetting to check the "member" checkbox, as required to grant membership to the group. Brown implemented a hack in the jsp controlling this display to check the "member" checkbox by default. The change is on line 39 of grouper-ui/webapp/WEB-INF/jsp/searchForPrivAssignmentListHeaderView.jsp
<span class="checkbox"><input type="checkbox" name="privileges" value="member" id="privMember" />
changes to
<span class="checkbox"><input type="checkbox" name="privileges" value="member" id="privMember" checked="checked" />
This is a hack that may not be applicable to all circumstances, and may lead to confusion in cases where membership is not a commonly assigned privilege. For Brown, it makes sense to use this hack, because the only cases when we assign anything other than member privileges are exceptions, and the admins assigning alternate privileges deliberately check the settings.