Latest #ash_policy Threads 
I have a use case that, basically:
Forbids if some role conditions are true for the actor,
Authorizes if the actor is a team lead of th...
New
The docs give this example of a policy:
policy action_type([:create, :update, :destroy]) do
authorize_if expr(owner_id == ^actor(:id))...
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 getting an unexpected policy access failure.
Here’s the policy:
policies
policy action :read do
authorize_if expr(is_public =...
New
policies do
policy action_type(:read) do
forbid_if expr(type(true, :boolean))
authorize_if always()
end
end
I thin...
New
Here’s the my example.
I’m working with structure where a Room has_one Contract, and I want to enforce that a contract can only be crea...
New
This Week's Trending
This Month's Trending
This Year's Trending
I have a use case that, basically:
Forbids if some role conditions are true for the actor,
Authorizes if the actor is a team lead of th...
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
Here’s the my example.
I’m working with structure where a Room has_one Contract, and I want to enforce that a contract can only be crea...
New
policies do
policy action_type(:read) do
forbid_if expr(type(true, :boolean))
authorize_if always()
end
end
I thin...
New
The docs give this example of a policy:
policy action_type([:create, :update, :destroy]) do
authorize_if expr(owner_id == ^actor(:id))...
New
I’m getting an unexpected policy access failure.
Here’s the policy:
policies
policy action :read do
authorize_if expr(is_public =...
New
Trending Over Three Years
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







