-
Notifications
You must be signed in to change notification settings - Fork 19
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
Sharing access between social agents #238
Comments
Specifically, the important questions here are:
The answer to the related questions is probably: such a specific request will happen out-of-band (e.g. in conversation with Alice I discover that she has some photo's of last week's party, and I ask her to share them with me), upon which Alice gives the specific access to the WebID I provide. |
Isn't this related to the "Social Agent Shares Access" authorisation flow?
Is the panel already working on this type of authorisation flow? Is there a sequence diagram of this flow? |
See Access Receipts - "A Social Agent provides an Access Receipt to another Agent after granting them access to some scope of data in an Access Consent." As mentioned in access receipts, you can always query the authorization agent to determine whether the social agent has a registration for you, and if so, you can lookup what access you have based on the access grant in that registration. See Agent Registration Discovery.
See Access Needs. Specifically:
Per the point above - Requires advance knowledge of the Data Instance. You can't request access to things you don't know about, and you should only know about them if the data owner / controller wants you to.
There's no restriction to how the receipt is transferred, though in this spec we specify
It should be processed by the authorization agent. there's no requirement for it to be retained, though it can be for auditing if desired.
It would need to be given access to that data, so the access grant in it's application registration would be updated.
I think the current authorization flow detailed in the spec covers this |
If social agent registration doesn't exist, for the social agent who issued the access receipt, AA should prompt the user if they want to create one (I think some aspects of #96 apply here as well). We discussed having a reverse invitation workflow to verify the identity of the social agent who issued the access recipe. This would rely on some existing communication channel between those agents (e-mail, phone nr, etc.) Once the social agent who received the access receipt agrees to create social agent registration for the agent who issued it. The Authorization Agent would perform Agent Registration Discovery as @justinwb mentioned above. Discovered social registration would be added to the registration created by AA using
If the user granted that app data consent with a broad scope like If data consent had |
Actually, AA should just subscribe to notifications from the social agent registrations linked with Public inboxes need to be spam-protected etc. We discussed a couple of times that they would mostly be used in first-contact scenarios and after that communication would move to a 'dedicated channel'. Subscribing to notification from social agent registration someone created for us pretty much acts as such 'dedicated channel' and doesn't rely on further access receipts being sent to the public (create) access inbox. |
If the AA should process Access Receipts, should there not be a specified way in which they must be delivered? If we do not specify that, for example, sharing party's AA should send the receipt to the inbox and the receiving party's AA should watch that inbox, how will they work together?
So, if I understand @elf-pavlik correctly, the AA back-end listens for new receipts (either in inbox or on established channel) and updates existing grants. Makes sense!
Any idea on how this would work (given that new social agents will still need to be able to send you a receipt)? |
I'm tempted to bounce that specific spam issue to the main solid specification and see where it lands. We consider only define
I think we should review our current text and add any clarifications needed. Details on how AA subscribes to the inbox can be delegated to solid notifications spec. We would just need to specify that it should watch it and what is expected to happen after a new access receipt has been delivered, besides doing Agent Registration Discovery. |
When requesting access between social agents, for instance when I request access to Alice's photos, I would send them an access request, for which I ideally get a grant and receipt back. How can I know where the photos for which I have received access are located? (Is this the data grant's
hasDataInstance
?)Sort of related to this: Should it be possible to request access to a specific set of their photos? How can I know which photos I can request access to if I have no access to them?
I know Alice can choose this when granting access, but could it be done with a more specific request?
The text was updated successfully, but these errors were encountered: