Latest #ash-policies Threads 
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
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
I’m trying to nail down why this query:
sprints = WasteWalk.Sprints.Sprint
|> Ash.Query.filter(expr(exists(members, user_id == ^socke...
New
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
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
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
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
Hopefully a simple one where I’m just not understanding the documentation properly between policies and AshJsonAPI.
I have a resource wi...
New
So we have an application where users fundamentally belong to many organizations, and as such, they have different roles for each organiz...
New
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
This Month's Trending
This Year's Trending
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
I’m trying to nail down why this query:
sprints = WasteWalk.Sprints.Sprint
|> Ash.Query.filter(expr(exists(members, user_id == ^socke...
New
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
So we have an application where users fundamentally belong to many organizations, and as such, they have different roles for each organiz...
New
I have a FilterCheck policy that looks like this:
use Ash.Policy.FilterCheck
def filter(actor, context, options) do
tenant_id = co...
New
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
My application is configured with config :ash, :policies, log_policy_breakdowns: true. And there is a resource that has field_policies de...
New
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
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
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
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
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
Hopefully a simple one where I’m just not understanding the documentation properly between policies and AshJsonAPI.
I have a resource wi...
New
I have a resource (MyApp.MapPin) that has an attribute :coordinates of type :geometry. I’m trying to implement a clustering feature that ...
New
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
In my user action I have these policies:
policies do
bypass AshAuthentication.Checks.AshAuthenticationInteraction do
authorize_if ...
New
Does anyone know if Manual Read actions are incompatible with policies.
I can’t get this policy to deny anything
test "" do
# Arran...
New
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
My lib/example_app_web/live/product_live/index.ex file contains this code:
<:action :let={{_id, product}}>
<div c...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







