isClubRep should be a live attribute #65
Labels
No Label
priority
high
priority
low
priority
medium
priority
very high
BUG
Feature
High Priority
Low Priority
Medium Priority
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: public/pyceo#65
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently the
is_club_rep
function (in ceod/model/utils.py) uses the maximum of a user's members and non-member terms to determine whether they are a club rep or not. This is incorrect - we should only look at whether the user has a non-member term entry for the current term.This implies that the isClubRep LDAP attribute should be automatically updated at the beginning of every term. We should create a new API endpoint (e.g.
/api/members/updateisclubrep
) which will get called on a cron job (like we already do for the shadowExpire attribute).