WildAid / o-fish-web

Web application for the Officer's Fishery Information Sharing Hub (O-FISH). The web app allows agencies to gain insights from the aggregated information gathered during a routine vessel inspection (submitted via the web app).
Apache License 2.0
31 stars 41 forks source link

Create guest developer user & agency for Hacktoberfest #197

Closed am-MongoDB closed 3 years ago

am-MongoDB commented 4 years ago

This functionality is to support users creating their own agency-admin user in a shared instance of the O-FISH Realm app.

There is a matching web issue for this feature: https://github.com/WildAid/o-fish-realm/issues/136

The page should look something like this (this is a "backdoor" for developers and so the design doesn't need to be precise):

image

All of the fields are free text.

When the button is pressed the following should be done:

o-fish-wildaid commented 4 years ago

Create issues for Hacktoberfest guest agency creation

o-fish-wildaid commented 4 years ago

Implement developer agencies for Hacktoberfest - web

Sheeri commented 4 years ago

@brittanylau is this something you are up for doing? @am-MongoDB will be working on the Realm function regDevUserAgency so you can use a placeholder function that succeeds (or fails) and testing that way.

brittanylau commented 4 years ago

@Sheeri I'm up for it! I can work on this during the weekend.

brittanylau commented 4 years ago

Hey @Sheeri, I'm slowly picking away at this one (haven't had as much time as I thought) - are there any dependencies/deadlines for this, aside from being ready for Hacktoberfest?

Sheeri commented 4 years ago

Hi @brittanylau - Being ready for hacktoberfest includes needing time for testing; It would be great to have a PR submitted by noon UTC on Monday. If not, that's totally OK, just let us know so we can reassign.

brittanylau commented 4 years ago

@Sheeri that timeline is perfect! Thanks for the heads up :)

brittanylau commented 3 years ago

@am-MongoDB quick clarification! Should users be able to access this page (and create a new user) without logging in first?

am-MongoDB commented 3 years ago

@brittanylau - yes. This page is only enabled if you want to provide a sandbox environment for developers to test the web or mobile apps against. The idea is that we host the backend environment (including the web site) and developers can come to this page to create their own agency and user account, which can then be used for testing. Because everything is partitioned by agency, only users registered against this agency will see the data they then add using the apps.

brittanylau commented 3 years ago

Thanks @am-MongoDB! This context is very helpful - I'll get a PR out by Monday.