Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make zubbi-web work with path-like role names #109

Merged
merged 2 commits into from
Feb 9, 2024
Merged

Conversation

felixedel
Copy link
Member

Zubbi-scraper is now able to parse roles that are defined in a nested
directory structure. Those roles have a path-like name, e.g. foo/bar.

In order to show those roles properly in zubbi-web, we have to urlencode
the role names in the URL for the details view and also escape the special
characters ("/") in the Elasticsearch query string. The latter one was
already done in other places, so this just aligns the details query with
the "normal" search query.

Zubbi-scraper is now able to parse roles that are defined in a nested
directory structure. Those roles have a path-like name, e.g. foo/bar.

In order to show those roles properly in zubbi-web, we have to urlencode
the role names in the URL for the details view and also escape the
special characters ("/") in the Elasticsearch query string. The latter
one was already done in other places, so this just aligns the details
query with the "normal" search query.
@felixedel felixedel requested a review from a team as a code owner February 8, 2024 15:12
@westphahl westphahl merged commit ba5f964 into master Feb 9, 2024
2 checks passed
@westphahl westphahl deleted the fe-web-nested-roles branch February 9, 2024 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants