Skip to content

authz: implement `authz.PermsScheduler`

Warren Gifford requested to merge jc/authz-perms-scheduler into master

Created by: unknwon

This PRs implements the PermsScheduler for RFC 113.

This PRs adds schedule computation to PermsSyncer

In a high-level, it schedules four things:

  1. Users with no permissions
  2. Repository with no permissions
  3. X users with the oldest permissions
  4. X repositories with the oldest permissions

Notes

  • Tests will be added in followup PRs.

Fixes https://github.com/sourcegraph/sourcegraph/issues/8708.

Merge request reports

Loading