Phuks-co / throat

Open Source link aggregator and discussion platform powering Phuks
https://phuks.co
MIT License
74 stars 32 forks source link

Enhancement: Allow banned users to log in and delete their posts and comments #116

Open happy-river opened 4 years ago

happy-river commented 4 years ago

If a user is site-banned, they currently cannot log in. In order for a Throat site to be GPDR compliant, users need to have the ability to delete their personal information. To accomplish that, we should allow site-banned users access to the views that enable them to delete content they created from the site, but not to add any new content.

happy-river commented 4 years ago

I'm working on this one and here is the list of views I propose allowing site-banned users to access:

home.view_user_uploads
user.edit_user
user.edit_account
user.delete_account
messages.inbox_sort
messages.view_notifications
messages.delete_notification
messages.view_messages
messages.view_saved_messages
do.logout
do.edit_account
do.delete_user
do.edit_user
do.delete_post
do.read_pm
do.readall_msgs
do.delete_pm
do.delete_comment