The administrator needs to approve user-uploaded content

I created a cake recipe app. It’s working perfectly.

However, I want the recipes to be approved by an admin before they are published to everyone.

Can someone help me?

Add a boolean :white_check_mark: property to the Recipes collection, called Approved?
You have two lists - an Admin view of the list of Recipes (all) and a non-Admin view (filter where Approved? = True). On the Admin list, add a Toggle element for the approve property.
Does that help?

1 Like

Thank you very much! I got it!!!

Now I have another problem… when an unregistered user tries to login, there is no “unregistered user” message, in fact nothing happens…

how can i fix this

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.