Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How do I make a query require authentication and return an error if the user is not logged in? - Ash Framework
AF
Ash Framework
โข
6mo ago
โข
9 replies
JVMartyns
How do I make a query require authentication and return an error if the user is not logged in?
Currently
, the query returns nothing when there is no user logged in
. But I would like it to return an authentication error
.
Ash Framework
Join
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.
2,193
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
require authenticated user
AF
Ash Framework / support
4y ago
How do I make an attribute on a resource unique?
AF
Ash Framework / support
3y ago
Authentication error
AF
Ash Framework / support
6mo ago
Policies: authorize if user is an admin of the requested resource's organization
AF
Ash Framework / support
10mo ago