-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjustment to suspended users #48
Comments
Seems like a good solution for #52! |
Looks like we already track the Avatar issue under #214. I'm in favour of using this issue instead as it's a more broader fix. |
Special groups are challenging, because we don't have any more reserved IDs. We would either have to use a random ID per installation, which could be hard to work with, or move around existing IDs, which is very very messy. Since suspend is essentially "read only mode", I think we could hook into the activation / deactivation system proposed in another recent issue, where suspended users would face the same restrictions as users without activation. |
Could we use negative numbers as the IDs? |
That's unfortunate. Also interestingly enough, we set the guest group to suspended users atm, which I don't know what it really does. There is still another approach we could take for this, we could have a setting in suspend, to choose a group to auto assign/unassign when a user gets suspended/unsuspended, I believe that would work well enough for this purpose. |
I like this approach. I feel like simply having them as unauthenticated leaves us open to the issues of them being able to change avatars etc, which is where we're having issues with derogatory / troll display pictures. |
Isn't flarum/suspend#30 already there to fix this? |
There's 2 challenges with a group based approach:
|
Good point, with the current system, a special suspend group would actually make no difference than how it currently assigns the Suspend currently completely overwrites all user groups and only leaves the guest group, the only reason a suspended user can still change avatar, is because there is no avatar permission in place. I'm sceptical about the need to disallow actions specifically for suspended users at all, or if we do add such specific checks it should check for guest group instead. However, if every action has a permission, like the avatar change, then suspended users won't be able to edit that at all, and that might be a better solution, simply adding permissions to said actions. Coming back to this
Suspended users already face the same restrictions though, both non activated users and suspended are only in the guest group. |
In this case, with regards to restricting avatars, we should assert that users are not guests before allowing them to upload an avatar. |
Feature Request
Is your feature request related to a problem? Please describe.
At the moment, when a user is suspended they can still perform actions on the forum such as changing their avatar. This could potentially lead to avatars or signatures that are derogatory in nature or otherwise break the community rules.
Describe the solution you'd like
I propose that;
This approach would allow extensibility such as allowing users to post to help tags or byobu, so that they can chat with the team or dispute a ban without it spilling out to the forums.
I’d further propose: removing the user avatar, and denying the ability to set a new one (obviously adjustable by permissions)
The text was updated successfully, but these errors were encountered: