ash/old_documentation/topics/authorization.md

14 lines
509 B
Markdown
Raw Normal View History

2020-09-23 02:50:46 +12:00
# Authorization
## Ash Policy Authorizer
Generally speaking, you will want to use `Ash.Policy.Authorizer` to authorize access to your resources.
2020-09-23 02:50:46 +12:00
At one point, it was a separate package but it is now built directly into Ash.
2020-09-23 02:50:46 +12:00
For usage, see the policies guide.
2020-09-23 02:50:46 +12:00
## Implementing a custom authorizer
Implementing a custom authorizer is pretty complex. Instead of writing a guide, it would be best to just have some discussions if/when someone thinks that they need one. Make an issue and we'll talk it over.