Class: Bscf::Core::UserProfilePolicy
- Inherits:
-
ApplicationPolicy
- Object
- ApplicationPolicy
- Bscf::Core::UserProfilePolicy
- Defined in:
- app/policies/bscf/core/user_profile_policy.rb
Instance Attribute Summary
Attributes inherited from ApplicationPolicy
Instance Method Summary collapse
Methods inherited from ApplicationPolicy
Constructor Details
This class inherits a constructor from Bscf::Core::ApplicationPolicy
Instance Method Details
#show? ⇒ Boolean
4 5 6 |
# File 'app/policies/bscf/core/user_profile_policy.rb', line 4 def show? true end |
#update_kyc? ⇒ Boolean
8 9 10 |
# File 'app/policies/bscf/core/user_profile_policy.rb', line 8 def update_kyc? admin? end |