Class PartsWord
In: app/models/parts_word.rb
Parent: ActiveRecord::Base

Methods

Protected Instance methods

[Source]

    # File app/models/parts_word.rb, line 16
16:   def authorized_for_create?
17:     return Authorize.is_role_allowed_for_user?(current_user, UserRole::USER_ROLE_USER)
18:   end

[Source]

    # File app/models/parts_word.rb, line 24
24:   def authorized_for_destroy?
25:     return Authorize.is_role_allowed_for_user?(current_user, UserRole::USER_ROLE_USER)
26:   end

[Source]

    # File app/models/parts_word.rb, line 28
28:   def authorized_for_read?
29:     return Authorize.is_role_allowed_for_user?(current_user, UserRole::USER_ROLE_USER)
30:   end

[Source]

    # File app/models/parts_word.rb, line 20
20:   def authorized_for_update?
21:     return Authorize.is_role_allowed_for_user?(current_user, UserRole::USER_ROLE_USER)
22:   end

[Validate]