how to install and use masks...
masks is a general purpose access control framework for ruby/rails.
While masks is highly configurable, it ships with “batteries-included” tooling for common access control workflows across a variety of contexts.
To use it, add masks
to your Gemfile or run:
bundle add masks
Then run the installation:
rails generate masks:install
A typical installation creates a masks.json
, an initializer, migrations, and routes.
If you’re just getting started, take a look at the various guides for information on how to use masks:
masks.json
or RubyIf you’re familiar with masks, the API docs may be more useful: