Skip to content

Implement Verified Author Logic for Publishing Without Review (#1276) #1303

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

AbdulrahmanReda70
Copy link

Description

This PR introduces the backend logic to support #1276: "Allow some article authors to publish without review".

Changes

  • Add verified_author_at column to users table with migration
  • Add methods to check and manage verified author status in User model
  • Add admin interface to verify/unverify authors in UsersController
  • Add publishing limits for verified authors in ArticlesController
  • Add VerifyAuthor and UnVerifyAuthor jobs for queue processing
  • Add user policies for verified author management
  • Add admin view updates for verified author management
  • Add tests for verified author functionality

- Add verified_author_at column to users table with migration
- Add methods to check and manage verified author status in User model
- Add admin interface to verify/unverify authors in UsersController
- Add publishing limits for verified authors in ArticlesController
- Add VerifyAuthor and UnVerifyAuthor jobs for queue processing
- Add user policies for verified author management
- Add admin view updates for verified author management
- Add tests for verified author functionality
@driesvints
Copy link
Member

thank you so much for your work here! I'll need to check when I have some time to review this one so might be awhile, thanks!

@AbdulrahmanReda70
Copy link
Author

Sounds good, let me know if you have any questions later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants