Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Remove user from all classrooms tied to a GH organization that has revoked their access #2480

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Commits on Nov 26, 2019

  1. Configuration menu
    Copy the full SHA
    4fb2bb2 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2019

  1. Configuration menu
    Copy the full SHA
    32f8152 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    01cd5f1 View commit details
    Browse the repository at this point in the history
  3. In progress method starting wtih orgs

    We attepted to start with orgs as there were fewer orgs than users and this seemed like a way to limit the amount of api calls. However, in order to check if someone is an admin on an org, we have to make an api call to that org authenticated as someone who is already an admin. That would require going through users in that org to see if one is an admin before running through the remaining users to see if they should be removed or not. It seems simpler now to start with a user and iterate through their orgs (removing them from any they're not an admin for).
    JessRudder committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    ae71fcb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2a34790 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3d00951 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    36bae66 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2019

  1. Configuration menu
    Copy the full SHA
    6cf3c03 View commit details
    Browse the repository at this point in the history