"Pending Review" Status #612
Replies: 5 comments 4 replies
-
This is certainly possible right now using access control and hooks. It could even be built as a plugin so that the logic could be easily abstracted and shared between projects. Due to Payload's open-ended access control, this might be hard to build into Payload itself given Payload does not know anything about your users or what they can / can't do. That's a good thing all things considered though. @jacobsfletch and I have built a similar "pending review" system into a few of our own projects though. We may be able to abstract it into a plugin or similar, or at the very least, we could share our code with you to look at. |
Beta Was this translation helpful? Give feedback.
-
@jmikrut Please share it 🙏 |
Beta Was this translation helpful? Give feedback.
-
On second thought, drafts are enough for now. Is it possible to disable publishing both on create and update for non admin users? |
Beta Was this translation helpful? Give feedback.
-
hey @endlessuniverse , this is my solution for that. restrict a separate "approvals" field and then check if that field is present in order to set a publish date. let me know thoughts / questions |
Beta Was this translation helpful? Give feedback.
-
Another bump here, a very simple solution would be to add a new pending/moderation |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to know, if there was a way to create feature like wordpress' pending review.
So the idea is, some user only allowed to add entry to collection, but the cannot publish it, they can only "submit" it to the "pending" status. It will be reviewed by other user with higher role/capability, which then will determine whether to publish it or not.
If it is currently impossible, could this feature be added in the future?
Beta Was this translation helpful? Give feedback.
All reactions