4974d965c3
Horizon openstack dashboard rest API unit tests only pass the project_id to oslo.policy to vrify the service policy rule RBAC. This was passing till now as services allow 'owner' (which only check project_id) to pass the policy checks. As per new RBAC, project_id is not enough and proper role should be passed. For example 'owner' means in new RBAC is either 'member' or 'reader' role with project_id. oslo.policy 4.4.0 enable the new RBAC by default - https://review.opendev.org/c/openstack/releases/+/925032 and requirement change to use the oslo.policy 4.4.0 in upper-constraints is blocked with the horizon failure - https://review.opendev.org/c/openstack/requirements/+/925464 This commit fixes the test to use the right role along with the project_id so that policy rules can be checked correctly. Needed-By: https://review.opendev.org/c/openstack/requirements/+/925464 Change-Id: I840996fd2635bca853da02c630a7ab3761576821 |
||
---|---|---|
.zuul.d | ||
doc | ||
horizon | ||
openstack_auth | ||
openstack_dashboard | ||
playbooks | ||
releasenotes | ||
roles | ||
tools | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
babel-django.cfg | ||
babel-djangojs.cfg | ||
bindep.txt | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
manage.py | ||
MANIFEST.in | ||
package.json | ||
plugin-registry.csv | ||
README.rst | ||
reno.yaml | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
test-shim.js | ||
tox.ini |
Horizon (OpenStack Dashboard)
Horizon is a Django-based project aimed at providing a complete
OpenStack Dashboard along with an extensible framework for building new
dashboards from reusable components. The
openstack_dashboard
module is a reference implementation of
a Django site that uses the horizon
app to provide
web-based interactions with the various OpenStack projects.
- Project documentation: https://docs.openstack.org/horizon/latest/
- Release management: https://launchpad.net/horizon
- Blueprints and feature specifications: https://blueprints.launchpad.net/horizon
- Issue tracking: https://bugs.launchpad.net/horizon
- Release notes: https://docs.openstack.org/releasenotes/horizon/
Using Horizon
See doc/source/install/index.rst
about how to install
Horizon in your OpenStack setup. It describes the example steps and has
pointers for more detailed settings and configurations.
It is also available at Installation Guide.
Getting Started for Developers
doc/source/quickstart.rst
or Quickstart
Guide describes how to setup Horizon development environment and
start development.
Building Contributor Documentation
This documentation is written by contributors, for contributors.
The source is maintained in the doc/source
directory
using reStructuredText and
built by Sphinx
To build the docs, use:
$ tox -e docs
Results are in the doc/build/html
directory