Class: Dscf::Core::RolePolicy

Inherits:
ApplicationPolicy show all
Defined in:
app/policies/dscf/core/role_policy.rb

Instance Attribute Summary

Attributes inherited from ApplicationPolicy

#record, #user

Instance Method Summary collapse

Methods inherited from ApplicationPolicy

#create?, #destroy?, #index?, #initialize, #show?, #update?

Constructor Details

This class inherits a constructor from Dscf::Core::ApplicationPolicy

Instance Method Details

#approve?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'app/policies/dscf/core/role_policy.rb', line 8

def approve?
  false
end

#reject?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'app/policies/dscf/core/role_policy.rb', line 12

def reject?
  false
end

#request_modification?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'app/policies/dscf/core/role_policy.rb', line 16

def request_modification?
  false
end

#resubmit?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'app/policies/dscf/core/role_policy.rb', line 20

def resubmit?
  false
end

#submit?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'app/policies/dscf/core/role_policy.rb', line 4

def submit?
  false
end