Closed timbot1789 closed 1 year ago
Would signing in a client with an existing pod be using a separate flow and be done in a different PR?
Would signing in a client with an existing pod be using a separate flow and be done in a different PR?
It will be in a separate PR, yes
A bit confused. I've managed to get a new pod registered on the local solid server, and inside that pod there's now the contact information of the case manager (bug with profile information not showing correctly should be fixed in PR #379, please disregard viewing the client profile). However, it would seem that the case manager would still have to manually link up the client's pod via add contact. Was that intended?
https://github.com/codeforpdx/PASS/assets/14917816/0b9c6a37-069a-4905-904b-5a80493c6bbe
The account does exist now on localhost and the .acl in PASS seems to be setup for the case manager. Just not on the case manager's Contacts list.
A bit confused. I've managed to get a new pod registered on the local solid server, and inside that pod there's now the contact information of the case manager (bug with profile information not showing correctly should be fixed in PR #379, please disregard viewing the client profile). However, it would seem that the case manager would still have to manually link up the client's pod via add contact. Was that intended?
For this PR, yes. Since it was unclear to me how we want to handle a new user registration on the case manager end (should it go to the case manager themselves, or to an organization signup list, or something else) I removed it from this PR. Didn't want to write up something that would just get deleted.
Of course, we can't leave clients fully orphaned after signup with no case manager to contact, so I added the agent the client signed up with to the client's contact list.
Create User Registration Page
This PR:
VITE_SOLID_POD_SERVER
which is the default server to add new pods to.Screenshots (if applicable):
webId
query param in the page URL. If you remove the query param from the URL, you will be able to register for a pod without being connected to a case managerOnce a new user fills out the top form, their pod will be created. Then they will be redirected to the pod provider and asked to log in:
![image](https://github.com/codeforpdx/PASS/assets/37914436/a40e25e9-a254-4edf-a05d-3ac9c123ee1f)
Once they log in, PASS will complete pod initialization, and the signup form will be replaced with a message (NOTE: this is a dev testing view. we should replace this in the future with a user information collection flow):![image](https://github.com/codeforpdx/PASS/assets/37914436/ffcbc14f-00d4-430c-9bee-eb991ed78297)
In the background, PASS will initialize a PASS container, as well as a PASS contacts list. If the user registered with a case manager, PASS will grant the case manager read-write permissions to the pod, and will add the case manager to the user's contact list. (NOTE: This PR does not currently add the client to the case manager's contact list)
![image](https://github.com/codeforpdx/PASS/assets/37914436/92906826-e162-45ae-b0fd-11018b6acc54)
Additional Context (optional):
Currently, the registration form only works when connected to a Community Solid Server.
Future Steps: