Latest #ash-policies Threads Top

sezaru
I have this policy that I use to identify if the user is himself or not: defmodule Core.Ash.Policies.Self do @moduledoc false use A...
New
jack_m
Hi there! I have a resource with a bunch of custom, expensive validations that I want to run on :update and :create actions. Everything ...
New
zac
I’m trying to nail down why this query: sprints = WasteWalk.Sprints.Sprint |> Ash.Query.filter(expr(exists(members, user_id == ^socke...
New
linusdm
I’m trying to enforce the following policy: a User can only create up to 10 related Resources. When the 11th Resources is being created t...
New
Guy14
Hello!! I have a UserEmotion Resource (it’s a join between User resource and Emotion resource). In my User resource, I allow only users...
New
Guy14
Hello :slight_smile: Context After a while, I’m getting hands on Ash and Elixir again (for a school project, and in a few months for a b...
New
moxley
I upgraded to the latest Ash (3.4.66 → 3.5.8), and one of my AshGraphql tests is failing with this error: 08:24:51.258 request_id=G...
New
Onek
Hopefully a simple one where I’m just not understanding the documentation properly between policies and AshJsonAPI. I have a resource wi...
New
alove
So we have an application where users fundamentally belong to many organizations, and as such, they have different roles for each organiz...
New
kamaroly
I’m trying to authorize actions in Ash Policy Authorizer while ensuring that the owner of a record (the person who created it) can always...
New

This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

jack_m
Hi there! I have a resource with a bunch of custom, expensive validations that I want to run on :update and :create actions. Everything ...
New
zac
I’m trying to nail down why this query: sprints = WasteWalk.Sprints.Sprint |> Ash.Query.filter(expr(exists(members, user_id == ^socke...
New
sezaru
I have this policy that I use to identify if the user is himself or not: defmodule Core.Ash.Policies.Self do @moduledoc false use A...
New

Last Three Year's Trending Top

alove
So we have an application where users fundamentally belong to many organizations, and as such, they have different roles for each organiz...
New
amos-kibet
I have a FilterCheck policy that looks like this: use Ash.Policy.FilterCheck def filter(actor, context, options) do tenant_id = co...
New
Guy14
Hello :slight_smile: Context After a while, I’m getting hands on Ash and Elixir again (for a school project, and in a few months for a b...
New
moxley
My application is configured with config :ash, :policies, log_policy_breakdowns: true. And there is a resource that has field_policies de...
New
linusdm
I’m trying to enforce the following policy: a User can only create up to 10 related Resources. When the 11th Resources is being created t...
New
kamaroly
I’m trying to authorize actions in Ash Policy Authorizer while ensuring that the owner of a record (the person who created it) can always...
New
moxley
I upgraded to the latest Ash (3.4.66 → 3.5.8), and one of my AshGraphql tests is failing with this error: 08:24:51.258 request_id=G...
New
moxley
How do I apply a specific filtering on a related resource that’s two layers down from the parent resource, where the filter is determined...
New
Guy14
Hello!! I have a UserEmotion Resource (it’s a join between User resource and Emotion resource). In my User resource, I allow only users...
New
Onek
Hopefully a simple one where I’m just not understanding the documentation properly between policies and AshJsonAPI. I have a resource wi...
New
ryanrborn
I have a resource (MyApp.MapPin) that has an attribute :coordinates of type :geometry. I’m trying to implement a clustering feature that ...
New
KarlsonxD
Hi, I’m learning elixir phoenix and ash Framework at the moment and i’m still very new to the ash topic. I’m creating a simple app with...
New
sezaru
In my user action I have these policies: policies do bypass AshAuthentication.Checks.AshAuthenticationInteraction do authorize_if ...
New
simonelnahas
Does anyone know if Manual Read actions are incompatible with policies. I can’t get this policy to deny anything test "" do # Arran...
New
moxley
I’m building an AshGraphql query that should return null for a belongs_to field if the actor doesn’t have permission to access that field...
New

Trending Over Three Years Top

wintermeyer
My lib/example_app_web/live/product_live/index.ex file contains this code: <:action :let={{_id, product}}> <div c...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement