How to show only the current user to add information?
Created 7 years ago by spotony

When users add information, how to restrict the current user to add only add information? thank.

ryanthompson  —  7 years ago Best Answer

IMO this should be done through the front end - this kind of restriction screams not-an-admin to me 😊

Either way though - just restrict access to the builder maybe with $builder->setReadOnly(true).

Try resolving the UserFormBuilder and adding a callback on it's ready callback: https://pyrocms.com/documentation/streams-platform/v1.1#services/callbacks