Sha256: 96beb97b647f3e64c43e28751990bfbd00cd05b3fedd75893f6ebc9cd864e93f
Contents?: true
Size: 556 Bytes
Versions: 24
Compression:
Stored size: 556 Bytes
Contents
module Typus module Authentication module Base def admin_user @admin_user end def current_role admin_user.role.to_sym end def authenticate; end def check_if_user_can_perform_action_on_user; end def check_if_user_can_perform_action_on_resources; end def check_if_user_can_perform_action_on_resource; end def check_resource_ownership; end def check_resources_ownership; end def set_attributes_on_create; end def set_attributes_on_update; end end end end
Version data entries
24 entries across 24 versions & 2 rubygems