Skip to content

Conversation

AbdulrahmanReda70
Copy link
Contributor

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
Contributor Author

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

@driesvints driesvints merged commit 1f634b1 into laravelio:main Jun 27, 2025
1 check passed
@driesvints
Copy link
Member

Thank you so much for this PR! 👏

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