Sha256: 08aa04f39e8f303bb6e126bfc79c0d8d72289df6bdb721c389df1010e17602bf

Contents?: true

Size: 108 Bytes

Versions: 8

Compression:

Stored size: 108 Bytes

Contents

module Dune::Admin
  class AdminPolicy < ::ApplicationPolicy
   def access?
     is_admin?
   end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dune-admin-1.2.7 app/policies/dune/admin/admin_policy.rb
dune-admin-1.2.6 app/policies/dune/admin/admin_policy.rb
dune-admin-1.2.5 app/policies/dune/admin/admin_policy.rb
dune-admin-1.2.4 app/policies/dune/admin/admin_policy.rb
dune-admin-1.2.3 app/policies/dune/admin/admin_policy.rb
dune-admin-1.0.0 app/policies/dune/admin/admin_policy.rb
dune-admin-1.2.1 app/policies/dune/admin/admin_policy.rb
dune-admin-1.2.0 app/policies/dune/admin/admin_policy.rb