#7734 Spam on pagure
Closed: Fixed 5 years ago by smooge. Opened 5 years ago by ankursinha.

Ran into this while looking for "FAS". Looks like spam. Ban user and delete project?

https://pagure.io/Wholesale-sunglasses/Wholesale-fashion-sunglasses


I am going to have @pingou look at this as I am not sure what is needed to delete an account. I will close user account

Metadata Update from @smooge:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: pagure

5 years ago

There are a couple of things we can do:
- Delete the project itself:
Go to the project's settings and at the bottom of the menu on the left side there is the delete project tab
- Block the user
Since pagure has its own login system, one could be blocked in FAS and still be able to access pagure
To block the user, log on the host and run pagure-admin block-user <username> <date>

Thanks. I blocked the user earlier after Kevin told me. It looks like someone deleted the project so I think we can close this.

Metadata Update from @smooge:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Thanks. I blocked the user earlier after Kevin told me.

Out of curiosity, did it run fine?
I've tried doing it as well but I ran into TypeError: can't compare offset-naive and offset-aware datetimes
To solve this I added a --list option to pagure-admin block-user so in the future I have a way to check if the user is already blocked or not :)

It looks like someone deleted the project so I think we can close this.

That was me :)

Login to comment on this ticket.

Metadata