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

[server] blocklist repositories #9762

Merged
merged 1 commit into from
May 4, 2022
Merged

[server] blocklist repositories #9762

merged 1 commit into from
May 4, 2022

Conversation

AlexTugarev
Copy link
Member

@AlexTugarev AlexTugarev commented May 4, 2022

This PR adds the blockedRepositories attribute to the configuration of the server component.

Fixes #9639

NONE

Screen Shot 2022-05-04 at 17 48 39

throw new ResponseError(ErrorCodes.NOT_FOUND, "not found");
}

target.blocked = !!req.blocked;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@geropl geropl self-assigned this May 4, 2022
@AlexTugarev AlexTugarev force-pushed the at/blocklist-repos branch from 79083ce to fc47cb7 Compare May 4, 2022 17:38
@AlexTugarev AlexTugarev requested a review from geropl May 4, 2022 17:38
Copy link
Member

@geropl geropl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM, tested and works as expected 💪

@roboquat roboquat merged commit 1c5792a into main May 4, 2022
@roboquat roboquat deleted the at/blocklist-repos branch May 4, 2022 20:28
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note size/M team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Abuse prevention: Ability to block workspaces by repository
3 participants