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

edit button determined by WAC #6

Open
bblfish opened this issue Jun 6, 2015 · 3 comments
Open

edit button determined by WAC #6

bblfish opened this issue Jun 6, 2015 · 3 comments
Assignees

Comments

@bblfish
Copy link
Member

bblfish commented Jun 6, 2015

The edit button should only be enabled on resources that have write access.
IE. each page should know its access mode.

@bblfish
Copy link
Member Author

bblfish commented Jun 6, 2015

But one should have a way to edit resources and save edits somewhere else. Find out how SoLiD does that. ( for later )

This was referenced Jun 6, 2015
@bblfish
Copy link
Member Author

bblfish commented Jun 7, 2015

@bblfish
Copy link
Member Author

bblfish commented Jun 7, 2015

Question: are the HTTP headers not enough? LDP requires a server to specify what Methods (GET, PUT, PATCH, DELETE, etc ) the resource supports.
But:

  • If the server only specifies the methods allowed for the particular user, then if the user is not authenticated, the server won't know what rights to give her, and should therefore only give the methods that are publicly enabled. The client will then still have to read the WAC resource to determine if potentially more methods are available.
  • It is not clear that there is consensus for the server to specify only the methods allowed by that particular user. So if servers publish that PUT or PATCH is allowed it may not be enough for a client to rely on it. ( this needs to be followed up on ). So again the client should determine what the WACL is.
  • It may be interesting for the UI to show which users have access so the user can determine how he needs to authenticate. This is more likely to work only with WebID-RSA, as WebID-TLS does not allow the user to switch. But WebID-RSA does not work well in browsers.

@bblfish bblfish changed the title edit button determined by WAC edit button determined by WAC and Headers Jun 7, 2015
@bblfish bblfish changed the title edit button determined by WAC and Headers edit button determined by WAC Jun 7, 2015
@bblfish bblfish added the ready label Jun 7, 2015
@bblfish bblfish self-assigned this Jun 7, 2015
@bblfish bblfish added in progress and removed ready labels Jun 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant