How to show only the current user to add information?
Created 7 years ago by spotonyWhen users add information, how to restrict the current user to add only add information? thank.
When users add information, how to restrict the current user to add only add information? thank.
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'sready
callback: https://pyrocms.com/documentation/streams-platform/v1.1#services/callbacks