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

Version Path
brainsome_typus-4.0.0.beta13 lib/typus/authentication/base.rb
brainsome_typus-4.0.0.beta12 lib/typus/authentication/base.rb
brainsome_typus-4.0.0.beta11 lib/typus/authentication/base.rb
brainsome_typus-4.0.0.beta10 lib/typus/authentication/base.rb
brainsome_typus-4.0.0.beta9 lib/typus/authentication/base.rb
brainsome_typus-4.0.0.beta8 lib/typus/authentication/base.rb
brainsome_typus-4.0.0.beta7 lib/typus/authentication/base.rb
brainsome_typus-4.0.0.beta6 lib/typus/authentication/base.rb
brainsome_typus-4.0.0.beta5 lib/typus/authentication/base.rb
brainsome_typus-4.0.0.beta4 lib/typus/authentication/base.rb
brainsome_typus-4.0.0.beta3 lib/typus/authentication/base.rb
brainsome_typus-4.0.0.beta2 lib/typus/authentication/base.rb
brainsome_typus-4.0.0.beta1 lib/typus/authentication/base.rb
typus-3.1.10 lib/typus/authentication/base.rb
typus-3.1.9 lib/typus/authentication/base.rb
typus-3.1.8 lib/typus/authentication/base.rb
typus-3.1.7 lib/typus/authentication/base.rb
typus-3.1.6 lib/typus/authentication/base.rb
typus-3.1.5 lib/typus/authentication/base.rb
typus-3.1.4 lib/typus/authentication/base.rb