Class ExternalReference
In: app/models/external_reference.rb
Parent: ActiveRecord::Base

Methods

Public Instance methods

[Source]

   # File app/models/external_reference.rb, line 4
4:   def to_label
5:     uri
6:   end

Protected Instance methods

[Source]

    # File app/models/external_reference.rb, line 10
10:   def authorized_for_create?
11:     return Authorize.is_role_allowed_for_user?(current_user, UserRole::USER_ROLE_USER)
12:   end

[Source]

    # File app/models/external_reference.rb, line 18
18:   def authorized_for_destroy?
19:     return Authorize.is_role_allowed_for_user?(current_user, UserRole::USER_ROLE_USER)
20:   end

[Source]

    # File app/models/external_reference.rb, line 22
22:   def authorized_for_read?
23:     return Authorize.is_role_allowed_for_user?(current_user, UserRole::USER_ROLE_USER)
24:   end

[Source]

    # File app/models/external_reference.rb, line 14
14:   def authorized_for_update?
15:     return Authorize.is_role_allowed_for_user?(current_user, UserRole::USER_ROLE_USER)
16:   end

[Validate]