Skip to content

Commit

Permalink
switch to datastores-access syntax, fix #53
Browse files Browse the repository at this point in the history
  • Loading branch information
michielbdejong committed May 5, 2014
1 parent 8cce1d2 commit 7e4f5ee
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Breaking for servers as well as clients:
* The content-type for folder listings was corrected to application/ld+json
* The version string in the webfinger announcement was updated from -02 to -03
* Switch to the datastores-access syntax in open web app manifest format

## Breaking for servers:
* Serving folder listings with zero items is no longer allowed; serve a 404 instead.
Expand Down
Binary file modified draft-dejong-remotestorage-03.txt
Binary file not shown.
23 changes: 14 additions & 9 deletions source.txt
Original file line number Diff line number Diff line change
Expand Up @@ -437,10 +437,11 @@ Table of Contents
'accept' in the dialog of the application-first flow. Removing one
is considered equivalent to revoking its access token.

As an equivalent to OAuth's 'scope' parameter, a 'remotestorage'
As an equivalent to OAuth's 'scope' parameter, a 'datastores-access'
field SHOULD be present in the root of such an application manifest
document, as a JSON array of strings, each string being one access
scope of the form <module> <level>.
document, with entries <module> -> '{"access": "readonly"}' for
<level> 'r' or '{"access": "readwrite"}' for <level> 'rw', as
prescribed in [DATASTORE].

When the user gestures they want to use a certain application whose
manifest is present on the dashboard, the dashboard SHOULD redirect
Expand Down Expand Up @@ -828,7 +829,7 @@ ge.io/spec/modules/myfavoritedrinks/drink"}
[JSON-LD]
M. Sporny, G. Kellogg, M. Lanthaler, "JSON-LD 1.0", W3C
Proposed Recommendation,
http://www.w3.org/TR/2013/PR-json-ld-20131105/, November 2013.
http://www.w3.org/TR/2014/REC-json-ld-20140116/, January 2014.

[CORS]
van Kesteren, Anne (ed), "Cross-Origin Resource Sharing --
Expand All @@ -838,18 +839,22 @@ ge.io/spec/modules/myfavoritedrinks/drink"}
[MANIFEST]
Mozilla Developer Network (ed), "App manifest -- Revision
330541", https://developer.mozilla.org/en-
US/Apps/Developing/Manifest$revision/482369, October 2013.
US/Apps/Build/Manifest$revision/566677, April 2014.

[BEARER]
M. Jones, D. Hardt, "The OAuth 2.0 Authorization Framework:
Bearer Token Usage", RFC6750,
http://tools.ietf.org/html/rfc6750#section-2.3, October 2012.
[DATASTORE]
"WebAPI/DataStore", MozillaWiki, retrieved May 2014.
https://wiki.mozilla.org/WebAPI/DataStore#Manifest

[KERBEROS]
C. Neuman et al., "The Kerberos Network Authentication Service
(V5)", RFC4120,
https://tools.ietf.org/html/rfc4120

[BEARER]
M. Jones, D. Hardt, "The OAuth 2.0 Authorization Framework:
Bearer Token Usage", RFC6750,
http://tools.ietf.org/html/rfc6750#section-2.3, October 2012.

18. Authors' addresses

Michiel B. de Jong
Expand Down

0 comments on commit 7e4f5ee

Please sign in to comment.