An open API service indexing awesome lists of open source software.

https://github.com/silentsolutionsdigital/ash-rbac

Ash extension that allows for easier application of policies.
https://github.com/silentsolutionsdigital/ash-rbac

ash ash-rbac elixir rbac

Last synced: 29 days ago
JSON representation

Ash extension that allows for easier application of policies.

Awesome Lists containing this project

README

          

# AshRbac

A small extension that allows for easier application of policies

```elixir
rbac do
role :user do
fields [:fields, :user, :can, :see]
actions [:actions, :user, :can :use]
end
end
```

## Installation

The package can be installed by adding `ash_rbac` to your list of dependencies in `mix.exs`:

```elixir
def deps do
[
{:ash_rbac, "~> 0.6.1"},
]
end
```

Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at .