Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically deactivate team if their absent count exceeds threshold #10

Open
htoo97 opened this issue Jan 29, 2020 · 0 comments
Open
Assignees

Comments

@htoo97
Copy link

htoo97 commented Jan 29, 2020

Take a look at one of the files changed in Vicki's PR. When you append the annotator to the item.absent, it increases the count. At that point, check if that count exceeds the threshold and if it does, deactivate the team.

  1. Threshold - we'll define this as an environment variable. Think it should just be adding a key to the env key in the app.json.

  2. Deactivate the team - look at the POST route /admin/item in the admin controller

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants