keystone/keystone/tests/unit/resource
morgan fainberg a38d4a650f Add immutable option for roles and projects
Add in support for immutable roles and projects (including domains).
If the immutable option is set for a role or a project that
resource may not:

* Be Deleted

* Be Updated, except to change the value of "immutable" from
  `True` to `False` or `None` (None explicitly unsets the
  resource option).

* For projects (and domains), project tags cannot be created,
  updated, or deleted.

The immutable check is performed at the manager layer allowing
for exceptional code-cases to work directly with the driver.

Change-Id: I2027b1235a260b7ae5d66cbd6c369773d9e99876
Partial-bug: #1823258
2019-09-10 00:03:16 -07:00
..
backends Enable foreign keys for unit test 2018-10-09 09:50:21 +08:00
config_backends Split out domain config driver and manager tests 2016-03-09 17:32:21 +00:00
__init__.py V2 operations create default domain on demand 2016-02-29 20:22:44 +00:00
test_backends.py Add immutable option for roles and projects 2019-09-10 00:03:16 -07:00
test_core.py Allow an explicit_domain_id parameter when creating a domain 2019-04-09 16:29:52 +00:00