-
User creates a resource (a post, a comment or any Eloquent Model).
-
The resource is pending and invisible in website (ex.
Post::all()returns only approved posts). -
Moderator decides if the resource will be approved, rejected or postponed.
-
Approved: Resource is now public and queryable.
-
Rejected: Resource will be excluded from all queries. Rejected resources will be returned only if you scope a query to include them. (scope:
withRejected) -
Postponed: Resource will be excluded from all queries until Moderator decides to approve it.
-
You application is clean.
1 mins