Orbit/app/models/auth/auth_approval.rb

6 lines
201 B
Ruby
Raw Normal View History

2013-08-19 10:54:35 +00:00
class AuthApproval < Authorization
field :title
belongs_to :approval_authorizable, polymorphic: true
has_and_belongs_to_many :authorized_users, class_name: 'User', inverse_of: 'approving_apps'
end