Method: Authorization::DevelopmentSupport::ChangeSupporter::AssignPrivilegeToRoleAction#reverse?
- Defined in:
- lib/declarative_authorization/development_support/change_supporter.rb
#reverse?(other) ⇒ Boolean
337 338 339 340 341 342 |
# File 'lib/declarative_authorization/development_support/change_supporter.rb', line 337 def reverse? (other) other.is_a?(RemovePrivilegeFromRoleAction) and other.privilege == @privilege and other.context == @context and other.role == @role end |