Module: Role::Authorized

Extended by:
ActiveSupport::Concern
Included in:
Project, Sample, Study
Defined in:
app/models/role/authorized.rb

Overview

Include this module into your ActiveRecord model and get has_many roles and some utility named_scopes. You also get the ability to define role relations by name through the role_relation class method. These relationships are intended for owned resources