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
List DID Rules will give 200 even if DID does not exist #6334
Comments
Just for confirmation, when I look at the OpenAPI documentation for the REST interface I see an endpoint that is slightly different from the one you sepcify (see /dids/{scope_name}/rules ). Notably the scope and name are combined into the single {scope_name} element. Is this the same endpoint that causing a problem? Edit: Never mind, I see that there is a regex that is splitting the single scope_name into the two seperarte entities. |
Description
Rucio will return a
200 OK
when querying DID Rules even when the scopename is invalid.Steps to reproduce
GET /dids/<scope>/<name>/rules
200 OK
even if the scopename is not validRucio Version
32.3.0
Additional Information
Discovered while developing the WebUI
The text was updated successfully, but these errors were encountered: