Ash FrameworkAF
Ash Framework3mo ago
3 replies
Shahryar

How can we restrict each user's access to a specific set of includes for an action?

How can we restrict each user's access to a specific set of includes for an action? for example public_read just can loads form and user in ash json!

 json_api do
    type "submission"
    includes [:form, :tenant_form, :master_form, :files, :master_files, :user]
  end


Thank you
Solution
you can't, that is determined by the other resource
Was this page helpful?