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

Clarify "Listings" capability wrt "Reads" versus "PublicReads" #1801

Open
jhiemstrawisc opened this issue Dec 6, 2024 · 0 comments
Open
Assignees
Labels
documentation Improvements or additions to documentation origin Issue relating to the origin component
Milestone

Comments

@jhiemstrawisc
Copy link
Member

The Listings capability can be set for both origins and namespaces and it determines whether clients are able to PROPFIND/ls the origin/namespace for object discovery.

However, the access/authorization requirements to issue these list requests depends on other capabilities, namely Reads and PublicReads. If an origin is configured with Reads and Listings, object discovery requires a validly-scoped read token, whereas an origin with PublicReads and Listings allows anybody to perform discovery without a token.

One note is that while our capabilities mechanism ties Listings to namespace exports, the toggle actually applies to the origin's core xrootd configuration. Because of this, I'm not sure we can currently scope this capability individually to namespaces exported through the same origin the way our config mechanisms suggest.

While we should think about the implication of this kind of side effecting and whether it's what we truly want, we should at the very least document this behavior

@jhiemstrawisc jhiemstrawisc added documentation Improvements or additions to documentation origin Issue relating to the origin component labels Dec 6, 2024
@jhiemstrawisc jhiemstrawisc added this to the v7.13.0 milestone Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation origin Issue relating to the origin component
Projects
None yet
Development

No branches or pull requests

2 participants