Class ClassRolesController
In: app/controllers/class_roles_controller.rb
Parent: ApplicationController

Methods

Protected Instance methods

[Source]

    # File app/controllers/class_roles_controller.rb, line 29
29:   def create_authorized?
30:     return is_authorized_as?(UserRole::USER_ROLE_ADMIN)
31:   end

[Source]

    # File app/controllers/class_roles_controller.rb, line 33
33:   def destroy_authorized?
34:     return is_authorized_as?(UserRole::USER_ROLE_ADMIN)
35:   end

[Source]

    # File app/controllers/class_roles_controller.rb, line 21
21:   def read_authorized?
22:     return is_authorized_as?(UserRole::USER_ROLE_ADMIN)
23:   end

[Source]

    # File app/controllers/class_roles_controller.rb, line 17
17:   def search_authorized?
18:     return is_authorized_as?(UserRole::USER_ROLE_ADMIN)
19:   end

[Source]

    # File app/controllers/class_roles_controller.rb, line 25
25:   def update_authorized?
26:     return is_authorized_as?(UserRole::USER_ROLE_ADMIN)
27:   end

[Validate]