strict_check_result: {:ok, false, %Ash.Policy.Authorizer{ actor: %CauseBeacon.Accounts.User{ confirmed_at: nil, translations: nil, id: "96a69b47-490c-49f5-88c5-97e8183f731f", email: #Ash.CiString<"rene1946@adams.com">, first_name: "Marcus", last_name: "Eichmann", nickname: nil, phone_number: "55555555", phone_country_code: "852", photo_url: "https://robohash.org/set_set3/bgset_bg2/Dr00oiwdR0l1sCAEc", locale: :en, super_admin: false, gender: :male, date_of_birth: ~D[1992-06-04], preferred_language: :fr, nationality: :us, passport_number: "aXoeIDEM", national_id_number: "wbvO5yS3", permanent_resident: true, inserted_at: ~U[2025-10-20 12:26:18.868842Z], updated_at: ~U[2025-10-20 12:26:18.868842Z], first_name_zh: #Ash.NotLoaded<:calculation, field: :first_name_zh>, last_name_zh: #Ash.NotLoaded<:calculation, field: :last_name_zh>, full_name: #Ash.NotLoaded<:calculation, field: :full_name>, display_name: #Ash.NotLoaded<:calculation, field: :display_name>, full_phone_number: #Ash.NotLoaded<:calculation, field: :full_phone_number>, age: #Ash.NotLoaded<:calculation, field: :age>, members: #Ash.NotLoaded<:relationship, field: :members>, activated_members: #Ash.NotLoaded<:relationship, field: :activated_members>, admin_members: #Ash.NotLoaded<:relationship, field: :admin_members>, accepted_admin_members: #Ash.NotLoaded<:relationship, field: :accepted_admin_members>, organizations: #Ash.NotLoaded<:relationship, field: :organizations>, notifications: #Ash.NotLoaded<:relationship, field: :notifications>, __meta__: #Ecto.Schema.Metadata<:loaded, "users"> }, resource: CauseBeacon.Organizations.MemberNote, query: #Ash.Query< resource: CauseBeacon.Organizations.MemberNote, action: :read, tenant: "51508a1a-9c3a-498f-8e45-84360dc0aaca", filter: #Ash.Filter, select: [:id, :tag, :description, :inserted_at, :updated_at, :access_level, :organization_id, :note_date, :admin_member_id, :member_id] >, changeset: nil, action_input: nil, data: nil, action: %Ash.Resource.Actions.Read{ arguments: [], description: nil, filter: nil, filters: [], get_by: [], get?: false, manual: nil, metadata: [], skip_unknown_inputs: [], skip_global_validations?: false, modify_query: nil, multitenancy: :enforce, name: :read, pagination: %Ash.Resource.Actions.Read.Pagination{ default_limit: nil, max_page_size: 250, countable: true, stable_sort: nil, required?: false, keyset?: true, offset?: true, __spark_metadata__: nil }, preparations: [], primary?: true, touches_resources: [], timeout: nil, transaction?: false, type: :read, __spark_metadata__: nil }, domain: CauseBeacon.Organizations, scenarios: nil, real_scenarios: nil, check_scenarios: nil, subject: #Ash.Query< resource: CauseBeacon.Organizations.MemberNote, action: :read, tenant: "51508a1a-9c3a-498f-8e45-84360dc0aaca", filter: #Ash.Filter, select: [:id, :tag, :description, :inserted_at, :updated_at, :access_level, :organization_id, :note_date, :admin_member_id, :member_id] >, for_fields: nil, solver_statement: false, context: %{ private: %{ actor: %CauseBeacon.Accounts.User{ confirmed_at: nil, translations: nil, id: "96a69b47-490c-49f5-88c5-97e8183f731f", email: #Ash.CiString<"rene1946@adams.com">, first_name: "Marcus", last_name: "Eichmann", nickname: nil, phone_number: "55555555", phone_country_code: "852", photo_url: "https://robohash.org/set_set3/bgset_bg2/Dr00oiwdR0l1sCAEc", locale: :en, super_admin: false, gender: :male, date_of_birth: ~D[1992-06-04], preferred_language: :fr, nationality: :us, passport_number: "aXoeIDEM", national_id_number: "wbvO5yS3", permanent_resident: true, inserted_at: ~U[2025-10-20 12:26:18.868842Z], updated_at: ~U[2025-10-20 12:26:18.868842Z], first_name_zh: #Ash.NotLoaded<:calculation, field: :first_name_zh>, last_name_zh: #Ash.NotLoaded<:calculation, field: :last_name_zh>, full_name: #Ash.NotLoaded<:calculation, field: :full_name>, display_name: #Ash.NotLoaded<:calculation, field: :display_name>, full_phone_number: #Ash.NotLoaded<:calculation, field: :full_phone_number>, age: #Ash.NotLoaded<:calculation, field: :age>, members: #Ash.NotLoaded<:relationship, field: :members>, activated_members: #Ash.NotLoaded<:relationship, field: :activated_members>, admin_members: #Ash.NotLoaded<:relationship, field: :admin_members>, ... }, authorize?: true, pre_flight_authorization?: false, authorizer_log?: false } }, policies: [ %Ash.Policy.Policy{ condition: [ {Ash.Policy.Check.ActionType, [type: [:read], access_type: :filter]} ], policies: [ %Ash.Policy.Check{ check: {Ash.Policy.Check.ActorAttributeEquals, [attribute: :super_admin, value: true]}, check_module: Ash.Policy.Check.ActorAttributeEquals, check_opts: [ attribute: :super_admin, value: true, access_type: :filter ], type: :authorize_if, __spark_metadata__: %Spark.Dsl.Entity.Meta{ anno: [ file: ~c"/Users/allen/Documents/clients/cause_beacon/cause_beacon/lib/cause_beacon/organizations/member_note.ex", location: 78 ], properties_anno: %{} } }, %Ash.Policy.Check{ check: {CauseBeacon.Organizations.Role.CanReadMemberNote, []}, check_module: CauseBeacon.Organizations.Role.CanReadMemberNote, check_opts: [access_type: :filter], type: :authorize_if, __spark_metadata__: %Spark.Dsl.Entity.Meta{ anno: [ file: ~c"/Users/allen/Documents/clients/cause_beacon/cause_beacon/lib/cause_beacon/organizations/member_note.ex", location: 79 ], properties_anno: %{} } } ], bypass?: nil, description: nil, access_type: :filter, __spark_metadata__: %Spark.Dsl.Entity.Meta{ anno: [ end_location: 75, file: ~c"/Users/allen/Documents/clients/cause_beacon/cause_beacon/lib/cause_beacon/organizations/member_note.ex", location: 77 ], properties_anno: %{} } }, %Ash.Policy.Policy{ condition: [ {Ash.Policy.Check.ActionType, [type: [:destroy], access_type: :filter]} ], policies: [ %Ash.Policy.Check{ check: {Ash.Policy.Check.ActorAttributeEquals, [attribute: :super_admin, value: true]}, check_module: Ash.Policy.Check.ActorAttributeEquals, check_opts: [ attribute: :super_admin, value: true, access_type: :filter ], type: :authorize_if, __spark_metadata__: %Spark.Dsl.Entity.Meta{ anno: [ file: ~c"/Users/allen/Documents/clients/cause_beacon/cause_beacon/lib/cause_beacon/organizations/member_note.ex", location: 84 ], properties_anno: %{} } }, %Ash.Policy.Check{ check: {CauseBeacon.Organizations.Role.CanDeleteMemberNote, []}, check_module: CauseBeacon.Organizations.Role.CanDeleteMemberNote, check_opts: [access_type: :filter], type: :authorize_if, __spark_metadata__: %Spark.Dsl.Entity.Meta{ anno: [ file: ~c"/Users/allen/Documents/clients/cause_beacon/cause_beacon/lib/cause_beacon/organizations/member_note.ex", location: 85 ], properties_anno: %{} } } ], bypass?: nil, description: "This action is to remove a note!", access_type: :filter, __spark_metadata__: %Spark.Dsl.Entity.Meta{ anno: [ end_location: 75, file: ~c"/Users/allen/Documents/clients/cause_beacon/cause_beacon/lib/cause_beacon/organizations/member_note.ex", location: 82 ], properties_anno: %{ description: [ file: ~c"/Users/allen/Documents/clients/cause_beacon/cause_beacon/lib/cause_beacon/organizations/member_note.ex", location: 83 ] } } }, %Ash.Policy.Policy{ condition: [ {Ash.Policy.Check.ActionType, [type: [:create], access_type: :filter]} ], policies: [ %Ash.Policy.Check{ check: {Ash.Policy.Check.ActorAttributeEquals, [attribute: :super_admin, value: true]}, check_module: Ash.Policy.Check.ActorAttributeEquals, check_opts: [ attribute: :super_admin, value: true, access_type: :filter ], type: :authorize_if, __spark_metadata__: %Spark.Dsl.Entity.Meta{ anno: [ file: ~c"/Users/allen/Documents/clients/cause_beacon/cause_beacon/lib/cause_beacon/organizations/member_note.ex", location: 89 ], properties_anno: %{} } }, %Ash.Policy.Check{ check: {CauseBeacon.Organizations.Role.CanCreateMemberNote, []}, check_module: CauseBeacon.Organizations.Role.CanCreateMemberNote, check_opts: [access_type: :filter], type: :authorize_if, __spark_metadata__: %Spark.Dsl.Entity.Meta{ anno: [ file: ~c"/Users/allen/Documents/clients/cause_beacon/cause_beacon/lib/cause_beacon/organizations/member_note.ex", location: 90 ], properties_anno: %{} } } ], bypass?: nil, description: nil, access_type: :filter, __spark_metadata__: %Spark.Dsl.Entity.Meta{ anno: [ end_location: 75, file: ~c"/Users/allen/Documents/clients/cause_beacon/cause_beacon/lib/cause_beacon/organizations/member_note.ex", location: 88 ], properties_anno: %{} } }, %Ash.Policy.Policy{ condition: [ {Ash.Policy.Check.ActionType, [type: [:update], access_type: :filter]} ], policies: [ %Ash.Policy.Check{ check: {Ash.Policy.Check.ActorAttributeEquals, [attribute: :super_admin, value: true]}, check_module: Ash.Policy.Check.ActorAttributeEquals, check_opts: [ attribute: :super_admin, value: true, access_type: :filter ], type: :authorize_if, __spark_metadata__: %Spark.Dsl.Entity.Meta{ anno: [ file: ~c"/Users/allen/Documents/clients/cause_beacon/cause_beacon/lib/cause_beacon/organizations/member_note.ex", location: 94 ], properties_anno: %{} } }, %Ash.Policy.Check{ check: {CauseBeacon.Organizations.Role.CanUpdateMemberNote, []}, check_module: CauseBeacon.Organizations.Role.CanUpdateMemberNote, check_opts: [access_type: :filter], type: :authorize_if, __spark_metadata__: %Spark.Dsl.Entity.Meta{ anno: [ file: ~c"/Users/allen/Documents/clients/cause_beacon/cause_beacon/lib/cause_beacon/organizations/member_note.ex", location: 95 ], properties_anno: %{} } } ], bypass?: nil, description: nil, access_type: :filter, __spark_metadata__: %Spark.Dsl.Entity.Meta{ anno: [ end_location: 75, file: ~c"/Users/allen/Documents/clients/cause_beacon/cause_beacon/lib/cause_beacon/organizations/member_note.ex", location: 93 ], properties_anno: %{} } }, %Ash.Policy.Policy{ condition: [ {Ash.Policy.Check.ActorAttributeEquals, [attribute: :super_admin, value: true, access_type: :filter]} ], policies: [ %Ash.Policy.Check{ check: {Ash.Policy.Check.Static, [result: true]}, check_module: Ash.Policy.Check.Static, check_opts: [result: true, access_type: :filter], type: :authorize_if, __spark_metadata__: %Spark.Dsl.Entity.Meta{ anno: [ file: ~c"/Users/allen/Documents/clients/cause_beacon/cause_beacon/lib/cause_beacon/organizations/member_note.ex", location: 99 ], properties_anno: %{} } } ], bypass?: true, description: nil, access_type: :filter, __spark_metadata__: %Spark.Dsl.Entity.Meta{ anno: [ end_location: {99, 7}, file: ~c"/Users/allen/Documents/clients/cause_beacon/cause_beacon/lib/cause_beacon/organizations/member_note.ex", location: 98 ], properties_anno: %{} } } ], facts: %{ {Ash.Policy.Check.ActionType, [type: [:create], access_type: :filter]} => false, {Ash.Policy.Check.ActionType, [type: [:destroy], access_type: :filter]} => false, {Ash.Policy.Check.ActionType, [type: [:read], access_type: :filter]} => true, {Ash.Policy.Check.ActionType, [type: [:update], access_type: :filter]} => false, {Ash.Policy.Check.ActorAttributeEquals, [attribute: :super_admin, value: true, access_type: :filter]} => false, {CauseBeacon.Organizations.Role.CanReadMemberNote, [access_type: :filter]} => true }, data_facts: %{} }}