Aujourd’hui, j’ai désinstallé le plugin Autobot, mais l’utilisateur Autobot créé par le plugin n’a pas été supprimé.
Lorsque j’ai tenté de le supprimer manuellement, il a été signalé que les administrateurs et les modérateurs ne peuvent pas être supprimés. Cependant, il n’y a aucune option pour révoquer les droits d’administrateur dans le cas d’un autobot.
Avez-vous des idées sur la façon de supprimer l’utilisateur autobot et tous les messages associés ?
Also, it struck me that there seems to be no obvious way of uninstalling a plugin.
I mean, if I remove it’s line from app.yml, it wont be there after rebuild. But when I re-add it, all the previous settings and data will be there, so I guess they persist in the database? Is there a way to get rid of this residue?
Now That is exactly my Question! … Removing autobot user itself won’t have been that much of a concern if there were no posts left but when the bot had already spit over 300 redundant posts via RSS, removing seemed the only viable option!
You cannot revoke admin/moderator powers from any automatically generated user, it seems. Not form @discobot, not from @system, and apparently not from autobot as well.
And you can’t delete all posts of admin nor moderator.
I have to admit, it is a really impressive disaster.
Now I desperately want the Plugin dev to introduce some sorts of script to undo this disaster or else I’d have to start from scratch again or rather ask all my moderators to prepare a task force for deleting all the past posts created by the bot!
@vinothkannans I hope You can provide some help regarding it!
Okay, using some advanced search techniques and all sorts of IT voodoo i believe I found out how you can revoke admin for the bot…
When you enter your Docker container by ./launcher enter app, you can start Rails console by typing rails c.
Now it seems that autobot creates user with id -3, so if we type this: User.find(-3).update!(admin: false, moderator: false)
it should un-admin the bot.
Just please, mind that I’m no programmer, and regardless the fact that it worked for me, it’s pure guessing.