2023-06-03 10:10:27 -04:00
---
title: Blocking a user
license: 'CC-BY-SA-4.0'
---
2023-06-23 06:59:32 -04:00
Blocking another user is desirable if they are acting maliciously or are spamming your repository. For such cases, Forgejo provides the functionality to block other users. When you block a user, Forgejo does not explicitly notify them, but they may learn through an interaction with you that is blocked.
2023-06-03 10:10:27 -04:00
## How to block someone
In order to block another user, go to their profile page and click on the "Block" button.
2023-08-30 20:08:10 -04:00
![Profile card where block button is shown ](../_images/user/block/profile.png )
2023-06-03 10:10:27 -04:00
A popup will show; please read carefully what blocking another user implies, and if you accept the implications, click on Yes.
2023-08-30 20:08:10 -04:00
![Popup where implications of the block action is listed ](../_images/user/block/popup.png )
2023-06-03 10:10:27 -04:00
2023-11-02 08:37:07 -04:00
### List of blocked users and unblocking
If you would like to see the list of users you've blocked, navigate to your user profile in the top-right corner and click on the settings item.
![Dropdown that shows up after clicking on the profile in the navigation bar ](../_images/user/block/profile_dropdown.png )
Select the Blocked Users item in the menu. This navigates you to the page where the users you've blocked are listed.
![Blocked Users page being selected in the settings menu ](../_images/user/block/user_settings.png )
To unblock someone, click on the unblock button next to their name.
![List of people that are currently blocked by the user ](../_images/user/block/user_list_blocks.png )
2023-06-23 06:59:32 -04:00
## How to block someone as an organization
It is possible to block a user from an organization, this has the same implications as a normal user blocking another user. To block a user from an organization, you must be on that organization's Owners team.
Navigate to your organization's settings and select the Blocked Users page.
2023-11-02 08:37:07 -04:00
![Blocked Users page being selected in the settings menu ](../_images/user/block/org_page.png )
2023-06-23 06:59:32 -04:00
Find the person you want to block in the search bar, select the user and click block.
2023-08-30 20:08:10 -04:00
![Search results being shown to the search query in the search bar ](../_images/user/block/org_search.png )
2023-06-23 06:59:32 -04:00
You will now see the blocked users in the list, along with the date they were blocked.
2023-08-30 20:08:10 -04:00
![Blocked person being shown in the blocked users list ](../_images/user/block/org_successful.png )
2023-06-23 06:59:32 -04:00
To unblock that person, you can click the unblock button next to their name.
2023-08-30 20:08:10 -04:00
![Blocked person being shown in the blocked users list ](../_images/user/block/org_unblock.png )
2023-06-23 06:59:32 -04:00
2023-06-03 10:10:27 -04:00
## Implications of blocking a user
When you block a user:
- You stop following them.
- They stop following you.
2023-08-08 16:23:27 -04:00
- They are removed as collaborators on repositories you own as an individual.
2023-09-14 01:59:39 -04:00
- All pending repository transfers caused by the them are removed.
2023-06-03 10:10:27 -04:00
After you've blocked them:
- They cannot cause any notifications for you anymore by mentioning you.
- They cannot open issues or pull requests on repository you own.
- They cannot add reactions to your comments.
- They cannot post comments on issues and pull request you've opened.
2023-09-14 01:59:39 -04:00
- They cannot transfer repositories to you.