heat/heat_integrationtests/functional
Pavlo Shchelokovskyy 454a7b0ec1 Add resource_type-specific policies
Heat's `policy.json` now can contain policies of the following schema:

  "resource_types:<resource_type>": "rule"

This will allow cloud admins to control resource access utilizing
user roles, names, tenants and any other oslo.policy-supported rules.

Basic usage is to facilitate fail-early for stacks with resources
that a given user will not be able to actually create
due to role restrictions.

Default policy is 'allow to everyone' (who has passed previous policy
checks on REST API layer).

Resource types that the user will not be able to use due to
resources policy restrictions are hidden from `resource-type-list`.

Current operations that are prohibited if the user
does not pass policy check for a particular "forbidden" resource:
- show resource type for forbidden resource type
- show resource template for forbidden resource type
- create a stack containing a forbidden resource
- delete a stack containing a forbidden resource
- update a stack that already has a forbidden resource
- update a stack initroducing a new forbidden resource
- restore a stack snapshot to a stack that currently has forbidden
  resource
Not yet prohibited, need to be fixed:
- restore a stack snapshot that will create a forbidden resource

As first step (and for testing purposes) OS::Nova::Flavor is forbidden
to create for non-admin users. Simple functional test using this
resource is added.

Change-Id: I337306c4f1624552a2631e0ffbb43f0d3102813d
Implements blueprint conditional-resource-exposure
2015-08-25 15:37:26 +03:00
..
__init__.py Functional test UpdateStackTest 2014-10-20 16:31:09 +13:00
functional_base.py Adds option to skip specific tests 2015-08-12 20:04:13 +05:30
test_autoscaling.py Assert DELETE_COMPLETE on all stack delete cleanup 2015-08-19 13:37:08 +12:00
test_aws_stack.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_conditional_exposure.py Add resource_type-specific policies 2015-08-25 15:37:26 +03:00
test_create_update.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_create_update_neutron_port.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_default_parameters.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_encrypted_parameter.py Update encrypted param template 2015-08-20 18:23:56 +00:00
test_encryption_vol_type.py Functional test for encryption volume type 2015-08-07 17:15:30 +05:30
test_heat_autoscaling.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_hooks.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_instance_group.py Assert DELETE_COMPLETE on all stack delete cleanup 2015-08-19 13:37:08 +12:00
test_notifications.py Revert failing tests and use v3 for ec2 tokens 2015-08-18 13:37:48 +02:00
test_preview.py Fix incorrect resource's information while describing 2015-08-20 09:31:45 +08:00
test_reload_on_sighup.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_remote_stack.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_resource_group.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_software_config.py Increase the concurrency of software-config functional test 2015-08-18 16:03:24 +12:00
test_stack_tags.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_swiftsignal_update.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_template_resource.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00
test_validation.py Add config entries to skip integration tests 2015-08-07 07:29:20 +00:00