Skip to content

Commit 34624d7

Browse files
elf-pavlikTallTed
andauthored
Apply suggestions from code review
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
1 parent 963947d commit 34624d7

7 files changed

Lines changed: 32 additions & 32 deletions

File tree

proposals/primer/app-authorization-flow.bs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,24 @@
1111
<tbody>
1212
<tr>
1313
<td><b>1</b></td>
14-
<td>Alice's finds an Application called Projectron that she'd like
14+
<td>Alice finds an Application called Projectron that she'd like
1515
to use to manage her Projects and Tasks.</td>
1616
</tr>
1717
<tr>
1818
<td><b>2</b></td>
19-
<td>Alice authenticates with her WebID to Projectron</td>
19+
<td>Alice authenticates to Projectron with her WebID.</td>
2020
</tr>
2121
<tr>
2222
<td><b>3</b></td>
23-
<td>Projectron dereferences her WebID and retrieves Authorization Agent from her Identity Profile Document</td>
23+
<td>Projectron dereferences her WebID and retrieves Authorization Agent from her WebID Profile Document.</td>
2424
</tr>
2525
<tr>
2626
<td><b>4</b></td>
27-
<td>Projectron asks Alice's Authorization Agent if Alice already has an Application Registration for Projectron</td>
27+
<td>Projectron asks Alice's Authorization Agent whether Alice already has an Application Registration for Projectron.</td>
2828
</tr>
2929
<tr>
3030
<td><b>5</b></td>
31-
<td>Alice's Authorization Agent checks the Agent Registry in Alice's Pod for a Projectron Application Registration</td>
31+
<td>Alice's Authorization Agent checks the Agent Registry in Alice's Pod for a Projectron Application Registration.</td>
3232
</tr>
3333
<tr>
3434
<td><b>6</b></td>
@@ -37,13 +37,13 @@
3737
</tr>
3838
<tr>
3939
<td><b>7</b></td>
40-
<td>Projectron redirects Alice to her Authorization Agent, supplying its identity for context</td>
40+
<td>Projectron redirects Alice to her Authorization Agent, supplying its identifier for context.</td>
4141
</tr>
4242
<tr>
4343
<td><b>8</b></td>
44-
<td>Alice's Authorization Agent dereferences the supplied Projectron identity, retrieving Projection's
45-
Application profile graph and corresponding Access Need Groups from the Identity Profile Document,
46-
as well as <code>hasAuthorizationCallbackEndpoint</code></td>
44+
<td>Alice's Authorization Agent dereferences the supplied Projectron identifier, retrieving Projectron's
45+
Application profile graph and corresponding Access Need Groups from the WebID Profile Document,
46+
as well as <code>hasAuthorizationCallbackEndpoint</code>.</td>
4747
</tr>
4848
<tr>
4949
<td><b>9</b></td>
@@ -52,8 +52,8 @@
5252
</tr>
5353
<tr>
5454
<td><b>10</b></td>
55-
<td>Alice's chooses the scope of access that Projectron will receive to the data it has
56-
asked for access to via the presented Access Needs.</td>
55+
<td>Alice's chooses the scope of access that Projectron will receive, to the data to
56+
which it has asked for access via the presented Access Needs.</td>
5757
</tr>
5858
<tr>
5959
<td><b>11-13</b></td>
@@ -64,23 +64,23 @@
6464
</tr>
6565
<tr>
6666
<td><b>14</b></td>
67-
<td>Alice's Authorization Agent redirects her back to Projectron now that the appropriate access has been granted</td>
67+
<td>Alice's Authorization Agent redirects her back to Projectron, now that the appropriate access has been granted.</td>
6868
</tr>
6969
<tr>
7070
<td><b>15</b></td>
71-
<td>Projectron asks Alice's Authorization Agent again for a Projectron Application Registration</td>
71+
<td>Projectron again asks Alice's Authorization Agent for a Projectron Application Registration.</td>
7272
</tr>
7373
<tr>
7474
<td><b>16</b></td>
75-
<td>Alice's Authorization Agent finds the newly created Projectron Application Registration in the Agent Registry in Alice's Pod</td>
75+
<td>Alice's Authorization Agent finds the newly created Projectron Application Registration in the Agent Registry in Alice's Pod.</td>
7676
</tr>
7777
<tr>
7878
<td><b>17</b></td>
79-
<td>Alice's Authorization Agent provides the URI of the Application Registration to Projectron</td>
79+
<td>Alice's Authorization Agent provides the URI of the Application Registration to Projectron.</td>
8080
</tr>
8181
<tr>
8282
<td><b>18</b></td>
83-
<td>Projectron learns what access it received through the Access Grant in Alice's Projectron Application Registration</td>
83+
<td>Projectron learns what access it received through the Access Grant in Alice's Projectron Application Registration.</td>
8484
</tr>
8585
<tr>
8686
<td><b>19</b></td>

proposals/primer/application.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,16 @@ Details in <a href="https://solid.github.io/data-interoperability-panel/specific
106106

107107
## User Consent ## {#user-consent}
108108

109-
In case where application hasn't been registered yet it needs to initiate flow with Authorization Agent.
109+
In cases where an application hasn't been registered yet, it needs to initiate the flow with the Authorization Agent.
110110

111-
After successful flow application will be able to discover its registration.
111+
After successful flow, the application will be able to discover its registration.
112112

113113
<pre class=include>path: app-authorization-flow.bs</pre>
114114

115115
## Resource Indication ## {#resource-indication}
116116

117-
In cases where the application has already been registered, and the user wants to
118-
initiate sharing specific [[#data-instance]], an authorization flow with resource
117+
When the application has already been registered, and the user wants to
118+
initiate a sharing-specific [[#data-instance]], an authorization flow with resource
119119
indication is available.
120120

121121
<pre class=include>path: resource-indication-flow.bs</pre>

proposals/primer/authorization-agent.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ another's social agent Authorization Agent. The response will include a link to
255255

256256
An Access Grant groups together all the Data Grants provided for a specific agent.
257257

258-
An Access Grant is immutable, it never gets updated, instead it can be only replaced with a newer Access Grant.
258+
An Access Grant is immutableit never gets updated; it can only be replaced, by a newer Access Grant.
259259

260260
<pre class=include>path: data-grant.bs</pre>
261261

@@ -296,8 +296,8 @@ It should also assist the user in composing new Access Authorization, taking int
296296

297297
# Sharing resources indicated by the application # {#resource-indication}
298298

299-
In cases where the application has already been registered, and the user wants to
300-
initiate sharing specific [[#data-instance]], an authorization flow with resource
299+
When the application has already been registered, and the user wants to
300+
initiate a sharing-specific [[#data-instance]], an authorization flow with resource
301301
indication is available.
302302

303303
<pre class=include>path: resource-indication-flow.bs</pre>

proposals/primer/diagrams/application-requests-access-flow.seq.mmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ sequenceDiagram
33
participant Projectron
44
participant Authorization Agent
55
participant Alice's Pod
6-
participant Alice's Identity Document
6+
participant Alice's WebID Document
77
Note over Projectron: 1. 👩 Alice decides to use Projectron
88
Note over Projectron: 2. 👩 Alice authenticates with her WebID
9-
Note over Alice's Identity Document,Projectron: 3. Projectron discovers Alice's Authorization Agent in her WebID Document
9+
Note over Alice's WebID Document,Projectron: 3. Projectron discovers Alice's Authorization Agent in her WebID Document
1010
Projectron->>Authorization Agent: 4. Check for Application Registration
1111
Note over Authorization Agent, Alice's Pod: 5. Searches for Application Registration
1212
Authorization Agent->>Projectron: 6. No Application Registration Found

proposals/primer/resource-indication-flow.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
</tr>
3737
<tr>
3838
<td><b>9</b></td>
39-
<td>Alice's chooses all the social agents she wants to share the selected project with,
40-
as well as modes of access for all selected agents. If the shape tree has references (eg. tasks) she can
39+
<td>Alice chooses all the social agents with which she wants to share the selected project,
40+
as well as modes of access for all selected agents. If the shape tree has references (e.g., tasks) she can
4141
also select modes of access for each inherited shape tree.</td>
4242
</tr>
4343
<tr>
@@ -47,13 +47,13 @@
4747
</tr>
4848
<tr>
4949
<td><b>12</b></td>
50-
<td>Alice's Authorization Agent dereferences the supplied Projectron identity, retrieving Projection's
51-
Application profile graph from the Identity Profile Document,
50+
<td>Alice's Authorization Agent dereferences the supplied Projectron WebID, retrieving Projection's
51+
Application profile graph from the WebID Profile Document,
5252
to discover the <code>hasAuthorizationCallbackEndpoint</code>.</td>
5353
</tr>
5454
<tr>
5555
<td><b>13</b></td>
56-
<td>Alice's Authorization Agent redirects her back to Projectron now that the project has been shared.</td>
56+
<td>Alice's Authorization Agent redirects her back to Projectron, now that the project has been shared.</td>
5757
</tr>
5858
<tr>
5959
<td><b>14</b></td>

proposals/specification/application.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ use any resource or subject names.
6666
<td>hasAuthorizationCallbackEndpoint</td>
6767
<td>IRI</td>
6868
<td>URI used to redirect back from [=Authorization Agent=]
69-
to the application after completing authorization</td>
69+
to the application, after completing authorization</td>
7070
</tr>
7171
</tbody>
7272
</table>

proposals/specification/data-authorization.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ are processed by the [=Authorization Agent=].
109109

110110
### Authorization Redirect Endpoint ### {#authorization-redirect-endpoint}
111111

112-
An [=Application=] capable of redirecting, should redirect the user to
112+
An [=Application=] capable of redirecting, should redirect the user to the
113113
Authorization Redirect Endpoint advertised by the user's [=Authorization Agent=].
114114

115115
The following query parameters are defined:

0 commit comments

Comments
 (0)