'UPDATE_HOLD_REQUEST_TIME',
'UPDATE_NET_ACCESS_LEVEL',
'VIEW_CIRC_MATRIX_MATCHPOINT',
- 'UPDATE_PATRON_COLLECTIONS_EXEMPT',
'VIEW_HOLD_MATRIX_MATCHPOINT');
INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
dojo.connect(cb, 'onChange', function(newVal) { userSettingsToUpdate[stype.name()] = newVal; });
tbody.insertBefore(row, dividerRow.nextSibling);
openils.Util.show(row, 'table-row');
-
- if(stype.name() == 'circ.collections.exempt') {
- checkCollectionsExemptPerm(cb);
- }
}
function uEditUpdateUserSettings(userId) {
);
}
-var collectExemptCBox;
-function checkCollectionsExemptPerm(cbox) {
- if(cbox) collectExemptCBox = cbox;
- new openils.User().getPermOrgList(
- 'UPDATE_PATRON_COLLECTIONS_EXEMPT',
- function(orgList) {
- if(orgList.indexOf(patron.home_ou()) == -1)
- collectExemptCBox.attr('disabled', true);
- else
- collectExemptCBox.attr('disabled', false);
- },
- true,
- true
- );
-}
function usePhonePw(newVal) {
if(newVal && newVal.length >= 4) {
function(newVal) {
checkClaimsReturnCountPerm();
checkClaimsNoCheckoutCountPerm();
- checkCollectionsExemptPerm();
}
);
return;