Sha256: 5765faa63c3376a0d53d2bb689254a6ff7064b68b31bfbd557a66654b6a7d5d0
Contents?: true
Size: 217 Bytes
Versions: 94
Compression:
Stored size: 217 Bytes
Contents
# frozen_string_literal: true module Renalware class UserPolicy < BasePolicy def update? super && !user_update_self? end private def user_update_self? record == user end end end
Version data entries
94 entries across 94 versions & 1 rubygems