Is there a way to access the forest_user/current_user inside smart field definition method?

rails (7.0.2.4)
forest_liana (7.7.3)

Hello,

Is it possible to access the current forest user’s tags inside a smart field method definition?

  field :test_tags, type: 'String' do
    # Is it possible to get the current user's tags in here?
  end

In controller methods we have access to ‘forest_user’, and in actions ‘context[:user]’, etc.

Thanks!

hello @muz

Unfortunately it is not possible to access the forest_user in a smart field.

However I pushed it to product board as a feature suggestion.

1 Like

Thanks @matthv, I appreciate all your help!

1 Like