Authorization superpowers for applications using Ecto.
Installation
Janus can be installed by adding ex_janus to your deps in mix.exs:
defp deps do
[
{:ex_janus, "~> 0.3.3"}
]
endDocumentation
Here are a few places to get started:
Janusmodule docs- The Basics cheatsheet
- Generated Policy Modules - ideas behind
mix janus.gen.policy
Development
To set up and test Janus locally:
$ git clone https://github.com/zachallaun/ex_janus && cd ex_janus
$ mix deps.get
# Set up test database and run tests with code coverage report
$ mix setup
$ mix t