solidos icon indicating copy to clipboard operation
solidos copied to clipboard

SolidOS should not silently fail when unable to retrieve WebID during granting permission

Open renyuneyun opened this issue 1 year ago • 1 comments

SolidOS/Mashlib has a tab for each resource/container to modify its sharing permissions / access control lists. It allows to grant permission to an individual WebID entered by the user. If everything goes normal, after entering WebID and clicking yes, the textbox and yes/no disappears, and an avatar corresponding to that WebID will appear as a "viewer". Then the user can drag-and-drop it to the appropriate location.

However, if the entered WebID cannot be retrieved, the textbox and yes/no disappears as well, but nothing further happens. This is very un-user-friendly...

Preferably, SolidOS should either:

  1. Alarm the user that something wrong happened when retrieving the WebID document; or
  2. Add the WebID as a viewer regardlessly; or
  3. A combination of the two above (e.g. alarm, and allow proceeding regardlessly).

I haven't tried similar things on other types, but maybe worth checking if they have similar issues?

renyuneyun avatar Jun 26 '24 15:06 renyuneyun

Good feedback, I lean towards (2)—adding the WebID even if SolidOS can't connect.

The Pod might be down, or the client could have lost internet. In a local-first model, SolidOS should be able to function offline, like during a plane flight.

There's definitely scope to enhance the UX with warnings as well.

melvincarvalho avatar Sep 22 '24 14:09 melvincarvalho