Skip to content
Snippets Groups Projects

worker: apply permissions for users

Merged Warren Gifford requested to merge as/apply-permissions into main

Created by: asdine

This adds a function that applies user permissions to a list of repo. This function will be called by the worker to apply the permissions. It doesn't deal with the unrestricted flag, only with explicit permissions. It reuses the SetRepoPermissions and SetRepoPendingPermissions methods which already deal with most of the complexity.

Related to https://github.com/sourcegraph/sourcegraph/issues/36450

Test plan

Added a unit test

Merge request reports

Merged by avatar (May 6, 2025 3:57pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading