Skip to content
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

2555 admin tool allow un shadowbanning #2556

Closed

Conversation

vssdeo
Copy link
Contributor

@vssdeo vssdeo commented Mar 31, 2022

Proposed Changes

Testing Instructions

Fixes #

@simison simison self-requested a review April 4, 2022 16:24
@hlibbabii hlibbabii self-requested a review April 29, 2023 00:40
@hlibbabii
Copy link
Contributor

Hi @vssdeo, thanks for this PR, it would be very useful to finally merge it and have this feature. Could you maybe rebase it so that it contains only your changes?

@hlibbabii
Copy link
Contributor

Let's add some controller tests for un-setting the role

hlibbabii added a commit to vssdeo/trustroots that referenced this pull request Jul 23, 2023
hlibbabii added a commit to vssdeo/trustroots that referenced this pull request Jul 23, 2023
@hlibbabii hlibbabii force-pushed the 2555-Admin-tool-allow-un-shadowbanning branch 3 times, most recently from 55b7d12 to e342e7c Compare July 23, 2023 11:27
vssdeo and others added 3 commits July 23, 2023 14:30
-in users.api.js unsetUserRole() is added which calls a common user/change-role
-user/change-role only appened the roles not removed unlike its name
-button enable disabled depends now on actButtonDisabled
-lot of conditions hardcoded before hand so doing minimal changes there
-added role removal for un-shadowbanning button only
-should suspend be handled 'newsletter: true, public: true' as shadow ban removes suspend ?
    -added role add & remove for all roles
    -on suspend removal 'newsletter: true, public: true'
    -for suspend and shadowbanned : set color is red unset is green
    -for other buttons : set color is green unset is red
@hlibbabii hlibbabii force-pushed the 2555-Admin-tool-allow-un-shadowbanning branch from e342e7c to 6d2657f Compare July 23, 2023 11:31
@vssdeo
Copy link
Contributor Author

vssdeo commented Jul 25, 2023

Hi @hlibbabii just saw your comment, I guess this is already merged now. Actually this was done a long time back. I had notified the team to test and update me. I had almost forgotten about this.

@chmac chmac closed this Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants