This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).
Change-Id: I50a0cdcf2d038ff4f397e06c5bf3bd0c50a293c5
The doc migration spec requires each sub directory
to have an index page which could be directly
referenced in the main openstack documentation under
the topic specific pages, along with other projects.
This patch validates that and adds new files where
they are absent.
Change-Id: I180952857db758482fd767aa9f5cf6343fec9c42
The development environment setup docs were duplicated in two
separate places. This commit remove it from the "Getting Started"
section and into the contributor guide.
Change-Id: If243fd9896be286f9d4c80139eb3cb86600f0052
For a better readability and flow, reorganised and
renamed various sections in developer documentation.
Change-Id: I23ac014701e0ca0984e23ff07192cfdf4d8fd4dd
In a previous change [0] when warning-is-error was
added, the sphinx todo extension was causing errors
with duplicate registration.
However with the recent changes between pbr and
sphinx, this extension no longer throws a duplicate
error when using warning-is-error and we can add
it back in.
[0] https://review.openstack.org/#/c/439674/
Change-Id: Ie28d87dfca8ee5cbea28616b32c471d848c50759
As a part of reorganisation of developer docs, removed the
best practices documentation and made the subsections in it
as overall sections. More renaming and reorganisation will
be addressed in the following patches.
Change-Id: I21bf8fe3855fd1d441ec3dba342babc90516714d
The operator documentation had two sections that described
bootstrapping keystone. This is better suited for the admin-guide
and this commit moves it there.
Change-Id: Ibca2bc3e439ca6e26d8e4ead13ed101fd9010f12
Currently in the keystone API documentation page located at,
https://developer.openstack.org/api-ref/identity/index.html
all the sections and sub-sections appear at the same depth.
This makes the ordering very untidy and confusing.
This patch reorganises the appearance of sections and
sub-sections at the index page.
Change-Id: I55ae0102236805591e653c153618dec2af510c63
The default rule no longer applies with the move of policy into code
so this change removes it.
In previous releases, the default rule was used by operators
customizing policy and not wanting to specify every rule in their
policy.json. But with the move of policy into code, all checks that
the code is going to make are defined in code, so there should never
be an occasion for the default rule to be checked. Leaving it defined
would confuse operators since it can no longer be used the way it was
used before.
Change-Id: Idafe1c906f1eb188200eab7af3eae8eb86c8154a
Closes-Bug: #1703392
Currently there are two subsections named caching layer in
the admin docs. This commit merges the information in the
two and removes the duplicate docs.
Change-Id: I0f8a89c0eccc2ad6078b4d21dae274df3fc9da18
A new policy class was introduced that requires
additional parameters when defining policy objects.
This patch switches our trust policy object to
the policy.DocumentedRuleDefault and fills the
required policy parameters as needed.
Implements: bp policy-docs
Change-Id: I7d4bab14ff257ede59a1b49088e16842e5b59a64
The image migrated as a part of openstack-manuals is
a little pixelated and blurred. This commit replaces
the image with a higher resolution one.
Also a .svg version of this file is updated. The file
is not used as such in the docs but is useful if
someone wants to make changes to the png image, which
can be generated from the .svg file.
Change-Id: I56b863974adb5642f47e7561aa70bc582c85485f
Changes identity:get_identity_providers policy rule to
identity:get_identity_provider to match what is checked by the code.
Change-Id: I0841abd30fd15c034b5836e42a18938634b509b1
Closes-Bug: #1703369
The assert_admin method was broken by an earlier Pike commit [1]
which caused it to check for the "identity:admin_required" policy
rule (which is not defined) instead of the "admin_required" rule.
This changes check_policy to take the action instead of a function
name, allowing the caller to decide whether they want to prepend
"identity:" or not.
[1] 40c118d6ba
Change-Id: Ief05967361959a0bd194af3e77af198936e4a71f
Closes-Bug: #1703467
During a backport patch [0] for this fix
it was found some problems in the previous
approach like, It didn't enabled back the
session.autocommit. Another comment was we should
create a new session and commit on it instead of
disable/enable autocommit.
After this, we should backport this change in order
to fix the previous releases, instead of the other
one.
[0] https://review.openstack.org/#/c/469514
Change-Id: Ifc024ba0e86bb71f4ab8b019917782bc5bf3be7a
Closes-Bug: #1649616