Skip to content

Commit 9ea28b0

Browse files
committed
Adjust the naming to refer to end date rather than expire for peers. Hopefully
that will reduce the confusion about the difference between the date that the local contact puts as hard end date and the individual account access expire value. The latter needs at least annual renewal and the users can handle that themselves until end date.
1 parent fa2a3ba commit 9ea28b0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

mig/shared/functionality/peers.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def main(client_id, user_arguments_dict):
9191
logger.info("%s begin for %s" % (op_name, client_id))
9292

9393
# IMPORTANT: single line here to avoid breaking javascript inlining
94-
expire_help = "For security reasons peer accounts should be closed when no longer required. Expire is used to limit account access time for that purpose, and you can always extend it later if needed. For courses and workshops a few weeks or months should usually suffice, while projects and long-term collaboration often extend to months or years. Peer accounts still need to be renewed at least annually, but the peer users can do so themselves without your repeated explicit acceptance, as long as it does not exceed your provided expire date."
94+
expire_help = "For security reasons peer accounts should be closed when no longer required. End date is used to limit account access time for that purpose, and you can always extend it later if needed. For courses and workshops a few weeks or months should usually suffice, while projects and long-term collaboration often extend to months or years. Peer accounts still need to be renewed at least annually, but the peer users can do so themselves without your repeated explicit acceptance, as long as it does not exceed your provided end date."
9595

9696
# jquery support for tablesorter and confirmation on delete
9797
# table initially sorted by col. 5 (kind), then 0 (name)
@@ -251,13 +251,13 @@ def main(client_id, user_arguments_dict):
251251
</select>
252252
</div>
253253
<div class="col-md-4 mb-3 form-cell">
254-
<label for="peers_expire">Expire&nbsp;
254+
<label for="peers_expire">End Date&nbsp;
255255
<span class="info leftpad iconspace" title="%(expire_help)s"
256-
onClick="show_info(\'Expire Help\', \'%(expire_help)s\');"/>
256+
onClick="show_info(\'End Date Help\', \'%(expire_help)s\');"/>
257257
</label>
258258
<input class="form-control themed-select html-select fill-width"
259259
type="date" name="peers_expire" required pattern="[0-9/-]+"
260-
title="Access expiry date" />
260+
title="Access end date" />
261261
</div>
262262
</div>
263263
'''
@@ -332,11 +332,11 @@ def main(client_id, user_arguments_dict):
332332
'object_type': 'link',
333333
'destination':
334334
"javascript: confirmDialog(%s, '%s', '%s', %s);" %
335-
('peer_action', 'Update %(full_name)s (%(email)s) expire date (YYYY-MM-DD)?' % filled_entry,
335+
('peer_action', 'Update %(full_name)s (%(email)s) end date (YYYY-MM-DD)?' % filled_entry,
336336
'peers_expire',
337337
"{action: 'update', peers_label: '%(label)s', peers_kind: '%(kind)s', peers_content: '%(distinguished_name)s', peers_invite: false}" % filled_entry),
338338
'class': 'editlink iconspace',
339-
'title': 'Update %(distinguished_name)s Expire value in peers' % filled_entry,
339+
'title': 'Update %(distinguished_name)s End date value in peers' % filled_entry,
340340
'text': ''}
341341
filled_entry['invitepeerlink'] = {
342342
'object_type': 'link',
@@ -533,10 +533,10 @@ def main(client_id, user_arguments_dict):
533533
<div id="requests-tab" >
534534
<p>
535535
If someone requests an external user account on %(site)s and explicitly
536-
references you as peers contact person the site admins will generally forward
537-
the request, so that it shows up here for you to confirm. You can then accept
538-
or reject the individual requests below to let the site admins proceed with
539-
account creation or rejection. Please select an expire date to provide limited
536+
references you among contact persons (peers) the site admins will generally
537+
forward the request, so that it shows up here for you to confirm. You can then
538+
accept or reject the individual requests below to let the site admins proceed
539+
with account creation or rejection. Please select an end date to provide limited
540540
but sufficiently long account access - it can always be extended later.
541541
</p>
542542
'''

0 commit comments

Comments
 (0)