Closed GDmac closed 9 years ago
Could you use regular EE tags for this? Checking chosen output against author_id
and similar? Or were you running into issues/wanted an easier function for it?
Thanks! Passing this to @lukewilkins as well, for his thoughts.
addendum: replace_tag is not called in conditional, only replace_modifier is called (see EE bug report details)
here is an example how VMG chosen member can be used to select several members who may edit an entry (multi-author). e.g. this needs allowing members to edit entries authored by others, but with chosen member we can limit who sees the embedded channel form.
Added a method replace_author_or_chosen:
nb. this is a proof of concept, i need to check that there is no way to circumvent basic security with safecracker/channel form (e.g. post data not catched for wrong entries)