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

NEW: Ban User feature for Admins & Moderators #257

Merged
merged 13 commits into from
Sep 22, 2023

Conversation

johnhenley
Copy link
Collaborator

Description of PR...

New Admin feature to remove all content for a user and change them to unauthorized.

Changes made

  • Adds 'Ban' button to topic view for Administrators/SuperUsers:
    image

Clicking on 'Ban' asks for confirmation:
image

Posts for that user are removed and the user is made unauthorized:
image
image

PR Template Checklist

  • Fixes Bug
  • Feature solution
  • Other

Please mark which issue is solved

Close #165

@johnhenley johnhenley added the enhancement New feature or request label Mar 22, 2023
@johnhenley johnhenley self-assigned this Mar 22, 2023
@johnhenley johnhenley added this to the 08.00.02 milestone Mar 22, 2023
@johnhenley johnhenley changed the title Ban User feature for Admins NEW: Ban User feature for Admins Jun 30, 2023
@johnhenley johnhenley modified the milestones: 08.00.02, 08.00.00 Jul 17, 2023
@johnhenley johnhenley modified the milestones: 08.00.00, 08.00.02 Jul 17, 2023
@johnhenley johnhenley modified the milestones: 08.00.02, 08.00.00 Sep 13, 2023
@johnhenley
Copy link
Collaborator Author

@WillStrohl I pulled this forward to 08.00.00. P.S. YOU NEED this feature...

Copy link
Member

@WillStrohl WillStrohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have added one question.

@WillStrohl
Copy link
Member

Oh, and there's a conflict too. 😁

@johnhenley
Copy link
Collaborator Author

Oh, and there's a conflict too. 😁

naturally. the sql file :))

@Timo-Breumelhof
Copy link
Contributor

Great addition!

@johnhenley
Copy link
Collaborator Author

@WillStrohl @Timo-Breumelhof updated to allow moderator with "modUser" security.
Also added the "will-proof" switch -- you can't ban yourself -- or another superuser or admin.

@johnhenley johnhenley changed the title NEW: Ban User feature for Admins NEW: Ban User feature for Admins & Moderators Sep 21, 2023
@WillStrohl
Copy link
Member

@johnhenley Your friend, SqlDataProvider has a message for you (again). 😂

@johnhenley
Copy link
Collaborator Author

@johnhenley Your friend, SqlDataProvider has a message for you (again). 😂

@WillStrohl naturally. I re-synced and fixed conflict.

@Timo-Breumelhof
Copy link
Contributor

@johnhenley merge?

@johnhenley
Copy link
Collaborator Author

@johnhenley merge?

Please if you have time. This and #433 have new items for the toolbars.

@Timo-Breumelhof Timo-Breumelhof merged commit 24ed595 into DNNCommunity:dev Sep 22, 2023
1 check passed
@johnhenley johnhenley deleted the issues/165 branch September 22, 2023 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENH: Ban User
3 participants