Sha256: e1de99821391b3f0f409cb92a39d7a7e8009c38bf483a75ef8c31ea7401cc3de

Contents?: true

Size: 719 Bytes

Versions: 47

Compression:

Stored size: 719 Bytes

Contents

require 'test_puppet_helper'
require 'unit/shared/access_permissions_test_base'

# Permissions are added in AccessPermissions with lists of controllers and
# actions that they enable access to.  For non-admin users, we need to test
# that there are permissions available that cover every controller action, else
# it can't be delegated and this will lead to parts of the application that
# aren't functional for non-admin users.
#
# In particular, it's important that actions for AJAX requests are added to
# an appropriate permission so views using those requests function.
class AccessPermissionsTest < ActiveSupport::TestCase
  include AccessPermissionsTestBase

  check_routes(ForemanPuppet::Engine.routes, [])
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
foreman_puppet-8.0.0 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-6.4.0 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-7.0.0 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-6.3.0 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-6.2.0 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-6.1.1 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-5.1.3 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-6.1.0 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-6.0.1 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-6.0.0 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-5.1.2 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-4.1.1 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-5.1.1 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-5.1.0 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-4.1.0 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-4.0.4 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-5.0.0 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-4.0.3 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-4.0.2 test/unit/foreman_puppet/access_permissions_test.rb
foreman_puppet-3.0.7 test/unit/foreman_puppet/access_permissions_test.rb