WIP: Added ban endpoint #37

Draft
baaboe wants to merge 16 commits from wip/ban into main
Member
No description provided.
baaboe added 6 commits 2025-07-22 22:53:29 +00:00
baaboe added 1 commit 2025-07-22 23:00:28 +00:00
fix: Updated error message when banning owner
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline was successful
6999b4120e
Owner

this doesn't check the user's roles

i'm unsure how far along we are on the roles train, but i know they exist, ask radial

Why can i edit this
-benja

this doesn't check the user's roles i'm unsure how far along we are on the roles train, but i know they *exist*, ask radial Why can i edit this -benja
twig 2025-07-22 23:10:26 +00:00
  • added the
    Kind/Feature
    label
  • requested review from radical
baaboe added 1 commit 2025-07-22 23:18:23 +00:00
fix: baner :)
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline was successful
2bc702f8d2
Author
Member

@twig wrote in #37 (comment):

this doesn't check the user's roles

i'm unsure how far along we are on the roles train, but i know they exist, ask radial

Why can i edit this -benja

But it does

@twig wrote in https://git.gorb.app/gorb/backend/pulls/37#issuecomment-850: > this doesn't check the user's roles > > i'm unsure how far along we are on the roles train, but i know they _exist_, ask radial > > Why can i edit this -benja But it does
baaboe self-assigned this 2025-07-22 23:20:22 +00:00
baaboe added 1 commit 2025-07-22 23:31:42 +00:00
feat: ban permission
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline was successful
5fe5186142
baaboe added 1 commit 2025-07-22 23:38:02 +00:00
fix: plural fix thing
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline was successful
ceaa37cbe2
baaboe added 1 commit 2025-07-22 23:48:48 +00:00
feat: idiot(goin) proofing
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline was successful
cbdf6f79e2
radical added 2 commits 2025-07-23 13:04:06 +00:00
style: formatting
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline was successful
bb8927840d
baaboe added 3 commits 2025-07-23 17:13:10 +00:00
style: cargo clippy --fix && cargo fmt
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline was successful
26f528819e
baaboe changed title from Added ban endpoint to WIP: Added ban endpoint 2025-07-23 17:13:33 +00:00
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
ci/woodpecker/pr/build-and-publish Pipeline was successful
This pull request has changes conflicting with the target branch.
  • src/objects/member.rs
  • src/objects/role.rs
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin wip/ban:wip/ban
git checkout wip/ban

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff wip/ban
git checkout wip/ban
git rebase main
git checkout main
git merge --ff-only wip/ban
git checkout wip/ban
git rebase main
git checkout main
git merge --no-ff wip/ban
git checkout main
git merge --squash wip/ban
git checkout main
git merge --ff-only wip/ban
git checkout main
git merge wip/ban
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: gorb/backend#37
No description provided.