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

Poor specified of storage $PATH type #32

Closed
paulmillar opened this issue Aug 2, 2023 · 2 comments
Closed

Poor specified of storage $PATH type #32

paulmillar opened this issue Aug 2, 2023 · 2 comments

Comments

@paulmillar
Copy link
Contributor

On page 12, the document describes how scopes MAY provide a resource path in the form $AUTHZ:$PATH. On page 13, this behaviour is modified that storage scopes MUST be specified.

However, for storage, the nature of the $PATH is not specified. Is $PATH always a directory or is it legal for $PATH to identify something else, such as a file?

Here is a more concrete example to illustrate this question:

Assuming /foo is a directory that does not contain an element bar, does the scope storage.create:/foo/bar allow a client to upload a file bar within the /foo directory, is the client only authorised to create a directory bar?

@maarten-litmaath
Copy link
Collaborator

This looks a duplicate of issue #21 which PR #48 proposes to resolve.

@maarten-litmaath
Copy link
Collaborator

Duplicate of #21 .

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

No branches or pull requests

2 participants