Skip to content

Replace Trusted Apps with Tags - #62

Merged
zenomt merged 1 commit into
solid:masterfrom
zenomt:master
Apr 4, 2020
Merged

zenomt merged 1 commit into
solid:masterfrom
zenomt:master

Conversation

@zenomt

@zenomt zenomt commented Mar 1, 2020

Copy link
Copy Markdown
Contributor

this PR consolidates the proposal of #48 with the discussion in that issue and additional refining of the idea since originally proposed.

@zenomt zenomt changed the title tags proposal as PR Replace Trusted Apps with Tags Mar 1, 2020
information in HTTP `403` responses, resource servers posting events to an
inbox, resource servers including human-readable information on a FAQ page,
and well-known convention.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we do need to address this concern. In many cases user which authorizes client doesn't act as resource controller. In that case user who has read (or even read-write) access to the resource would not be able to read associated ACL resource to know which tags they need to add to client authorization.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed that this should be addressed. however, i don't believe it needs to be addressed in this document; it is an area for additional proposals.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it's premature to try to design a technical solution to any of these three Out-of-Scope items right now. i think two parallel courses are likely initially:

  1. a basic vocabulary of common Solid tags will emerge, and users will assign these basic tags for the default/global "*" origin to the various basic apps they use ;
  2. users will either ask foreign owners/controllers what specialty/non-basic tag vocabulary they're using for their resources, or find them in a FAQ or "getting started" document, or (possibly) give apps the "*" tag for specific foreign origins where they don't know (or care) about the tag vocabulary being used, and don't mind that the app will be able to access all resources at that origin to which the user would otherwise have access.

giving an app the "*" tag for a specific foreign origin isn't ideal, but it's way better than giving it full access to every origin (especially the one(s) where your storage is). and note that giving tag "*" to origin "*" is specifically forbidden (see line 123).

Authorization document assigning tags `tags:Chat` and `tags:Pictures` to app
`https://app.example/oauth/code` when accessing server `https://mike.example`'s
realm `https://mike.example/auth/` for modes `acl:Read` and `acl:Write`:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it mean that user have not way of granting global tag based access? I mean if set of tags gets used across many resource servers, does user need to create authorization for each of them?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see at line 120 for "default app authorization", where you can specify (non-wildcard) tags for resource origin "*".

@zenomt
zenomt merged commit 903271c into solid:master Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants