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

Some links in the {links} table may have restricted acces. Trying to access them gets a 403 error message.. #33

Open
Bonnarel opened this issue Oct 23, 2019 · 2 comments

Comments

@Bonnarel
Copy link
Contributor

@Bonnarel Bonnarel commented Oct 23, 2019

We could add a non-normative advice to include a column in the {links} endpoint named "readable" with values true|false. The values predict if the client will (using the current anon or authenticated identity) be allowed to use the link (eg download the data). This saves the clients the annoyance of trying and getting a 403 Permission Denied.
This issue has been raised By Pat Dowler in May. I (FB)don't know exactly how to write this change proposal. So I didn' create a pull request attached to this.

@robyww

This comment has been minimized.

Copy link

@robyww robyww commented Oct 23, 2019

This is a good idea.

@lmichel

This comment has been minimized.

Copy link

@lmichel lmichel commented Nov 12, 2019

Good point.
But you cannot say that an authenticated endpoint is not readable (readable=false).
Something like access=open|restricted might do the job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.