SolidOS / SolidOS/solid-ui

Provide default UX for requesting access in when server responds 403

Aperta
#225 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

authentication enhancement
Lingua principale
TypeScript
Stelle
153
Fork
46
Merge medio
1g 8h
PR unite (30g)
7

Descrizione

The Solid system includes/should include protocols for one user to request that another user gives them access to a given resource.

Note, as background, that when a user uses a web browser to access a web server, and has logged in but has not granted access, then the server can respond with a 403 error web page which includes (for example) a button to press to request access. Then there is a protocol behind the scenes which lodges a request with the resource owner, and if the resource owner grants access, notifies the original user that access has been granted and they should try again.

When a solid user is using an app, and that app tries to access some data on their behalf, currently the user is sometimes shown a "403 unauthorized" message just as an error message.
This proposes that solid-ui should contain facilities for inserting the access request protocol in the user experience in this case.

One can imagine that the request may be granted immediately (if eg the users are in the same room and talking) or after some time. In the later case, the notification message must have enough context to allow the users to click on a link and get bak to the thing they were trying to do when they were originally blocked.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Non sono indicati file, test o punti di ingresso. Inizia esaminando la gestione esistente delle risposte 403 e dei widget relativi all’accesso in solid-ui, quindi definisci il flusso di richiesta di accesso e notifica ritardata descritto nell’issue. Il lavoro è completato quando la UX può avviare una richiesta, gestire un’approvazione immediata o ritardata e preservare un link alla risorsa bloccata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript
Ambito
authorization
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.