← All work
rbacan
Problem
Normiq needed role-based access control that stayed consistent across several modules - QMS, HRMS, knowledge base - without hand-rolling permission checks in each one, a problem that recurs across other Rails projects.
Architecture
Packaged as a Rails engine gem, so it installs into a host app's routes, migrations, and permission checks through a generator rather than a copy-pasted concern. It ships its own role, permission, and user-role models, a `Rbacan::Permittable` module for host models, and a configuration initializer for wiring into an existing Devise setup.
Stack
- Ruby
- Rails
Outcome
Published at version 0.4.0 on RubyGems and consumed as a dependency by Normiq.