Module: Roles::Organization

Extended by:
ActiveSupport::Concern
Included in:
AttributionCopyrightHolder, AttributionOwner, Determiner
Defined in:
app/models/concerns/roles/organization.rb

Instance Method Summary collapse

Instance Method Details

#organization_allowed?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'app/models/concerns/roles/organization.rb', line 14

def organization_allowed?
  true
end

#organization_role?Boolean (protected)

Returns:

  • (Boolean)


20
21
22
# File 'app/models/concerns/roles/organization.rb', line 20

def organization_role?
  organization.present? && !person
end