• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

release-engineering / resultsdb
83%
develop: 89%

Build:
Build:
LAST BUILD BRANCH: konflux/mintmaker/develop/all-dependencies
DEFAULT BRANCH: develop
Repo Added 28 Feb 2022 08:34AM UTC
Files 26
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix-authorization
branch: fix-authorization
CHANGE BRANCH
x
Reset
  • fix-authorization
  • RHELWF-6471_configure_github_action
  • add-image-expiration
  • api_v3
  • authlib
  • avoid-updating-python-version
  • custom-mod_wsgi-args
  • dependabot/pip/alembic-1.10.2
  • dependabot/pip/alembic-1.11.1
  • dependabot/pip/alembic-1.12.0
  • dependabot/pip/alembic-1.12.1
  • dependabot/pip/alembic-1.13.2
  • dependabot/pip/alembic-1.13.3
  • dependabot/pip/alembic-1.9.2
  • dependabot/pip/email-validator-1.3.1
  • dependabot/pip/email-validator-2.1.0.post1
  • dependabot/pip/email-validator-2.2.0
  • dependabot/pip/fedora-messaging-3.2.0
  • dependabot/pip/fedora-messaging-3.4.1
  • dependabot/pip/flake8-6.0.0
  • dependabot/pip/flask-2.2.3
  • dependabot/pip/flask-2.3.3
  • dependabot/pip/flask-pyoidc-3.12.1
  • dependabot/pip/flask-pyoidc-3.13.0
  • dependabot/pip/flask-session-0.5.0
  • dependabot/pip/flask-session-0.8.0
  • dependabot/pip/flask-sqlalchemy-3.0.3
  • dependabot/pip/gunicorn-22.0.0
  • dependabot/pip/gunicorn-23.0.0
  • dependabot/pip/iso8601-2.1.0
  • dependabot/pip/mod-wsgi-5.0.1
  • dependabot/pip/mod-wsgi-5.0.2
  • dependabot/pip/pip-18e15a66a3
  • dependabot/pip/pip-1ae0a6a4ac
  • dependabot/pip/pip-22.3.1
  • dependabot/pip/pip-23.0
  • dependabot/pip/pip-23.0.1
  • dependabot/pip/pip-23.3.1
  • dependabot/pip/pip-24.2
  • dependabot/pip/pip-2c7469b053
  • dependabot/pip/pip-512858e340
  • dependabot/pip/pip-94eef7f553
  • dependabot/pip/pip-aebdb80796
  • dependabot/pip/pip-c728ed2073
  • dependabot/pip/pip-e49d2f513e
  • dependabot/pip/psycopg2-binary-2.9.10
  • dependabot/pip/psycopg2-binary-2.9.7
  • dependabot/pip/pydantic-2.10.2
  • dependabot/pip/pydantic-2.7.1
  • dependabot/pip/pytest-7.4.3
  • dependabot/pip/pytest-8.2.0
  • dependabot/pip/pytest-8.3.3
  • dependabot/pip/pytest-cov-4.0.0
  • dependabot/pip/pytest-cov-5.0.0
  • dependabot/pip/pytest-cov-6.0.0
  • dependabot/pip/setuptools-65.5.1
  • dependabot/pip/setuptools-65.6.3
  • dependabot/pip/setuptools-67.4.0
  • dependabot/pip/setuptools-67.8.0
  • dependabot/pip/setuptools-68.1.2
  • dependabot/pip/setuptools-69.0.2
  • dependabot/pip/setuptools-69.5.1
  • dependabot/pip/sqlalchemy-2.0.15
  • dependabot/pip/sqlalchemy-2.0.20
  • dependabot/pip/sqlalchemy-2.0.22
  • dependabot/pip/sqlalchemy-2.0.35
  • dependabot/pip/sqlalchemy-2.0.36
  • dependabot/pip/stomp-py-8.1.2
  • dependabot/pip/stomp-py-8.2.0
  • dependabot/pip/tenacity-9.0.0
  • dependabot/pip/tox-4.0.0rc1
  • dependabot/pip/tox-4.4.8
  • dependabot/pip/tox-docker-4.0.0
  • dependabot/pip/wheel-0.38.4
  • dependabot/pip/wheel-0.40.0
  • dependabot/pip/wheel-0.42.0
  • dependabot/pip/wheel-0.44.0
  • develop
  • drop-image-build
  • drop-threads-override
  • fix-mypy
  • fix-outcome-case
  • fix-outcome-type-check
  • fix-ssl-arguments
  • fix-stomp-configuration
  • flask-pyoidc
  • konflux-resultsdb
  • konflux/mintmaker/develop/all-dependencies
  • konflux/references/develop
  • pre-commit-ci-update-config
  • python-3.12-for-renovatebot
  • python-3.13
  • refactor-outcome-validation
  • renovate/all
  • renovate/all-dependencies
  • renovate/pypi-flask-vulnerability
  • renovate/pypi-python-ldap-vulnerability
  • simpler-oidc-login
  • support-konflux-mintmaker
  • update-dependencies
  • use-flask-cli
  • use-new-select
  • uv
  • uv-2

07 Feb 2024 04:27PM UTC coverage: 83.346% (+0.8%) from 82.53%
7817970648

Pull #137

github

hluk
Fix authorization failure responses

Messages and logging need to be improved for the new authenticated API
to troubleshoot issues.

Failure to authorize a request with the service must be logged.

If permission is denied to post a data (or access an endpoint), 403
Forbidden status code must be returned (currently it is 401).

Failure to find user in LDAP should be send back to user (with 403
response including the test case name)

In case of LDAP errors, the service should return 502 status code (not
4XX).

Return JSON formatted responses consistently.

JIRA: RHELWF-10633
Pull Request #137: Fix authorization failure responses

1066 of 1279 relevant lines covered (83.35%)

0.83 hits per line

Relevant lines Covered
Build:
Build:
1279 RELEVANT LINES 1066 COVERED LINES
0.83 HITS PER LINE
Source Files on fix-authorization
  • Tree
  • List 19
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
7817970648 fix-authorization Fix authorization failure responses Messages and logging need to be improved for the new authenticated API to troubleshoot issues. Failure to authorize a request with the service must be logged. If permission is denied to post a data (or access... Pull #137 07 Feb 2024 04:29PM UTC hluk github
83.35
See All Builds (1186)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc