Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Adding Organizations? #1049

Open
chrisvire opened this issue Nov 19, 2024 · 0 comments
Open

Improve Adding Organizations? #1049

chrisvire opened this issue Nov 19, 2024 · 0 comments

Comments

@chrisvire
Copy link
Member

chrisvire commented Nov 19, 2024

Original design

There is a link at the bottom of the sign in/sign up page:

Image

Clicking that link brings you to this page:
https://app.scriptoria.io/request-access-for-organization

Image

Submitting that page generates an email to Super Admins:

Image

The link at the bottom of the email looks like this:

https://app.scriptoria.io/admin?name=Blue%20Vire&orgAdminEmail=chris@bluevire.com&websiteUrl=https://bluevire.com

If the super admin clicks on the link and is not already authenticated for the day, they will be authenticated and then taken to an empty page (the fields included in the link are not passed along.

If the super admin clicks on the link and is already authenticated, then the form will be filled in:

Image

Submitting the page says that an invitation is sent:

Image

However, in my testing, I have not received an email.

This does create an entry in the "OrganizationInvites" table. I don't believe it is used at all??

There is also an OrganizationInviteRequests table that is not populated. I would have thought the request-access-for-organization would have used this.

What is actually done

We send out an email asking for some information that we need (template email):
https://docs.google.com/document/d/1AOvuY25vjADR_ppG54vGTNX6Cmo9mFSI54l5B5QPWys/edit?usp=sharing

Here is the documentation of what we need:
https://scriptoria.io/docs/New+Organizations.pdf

Configuration

  1. Organization Name
  2. Organization Website URL
  3. Organization Logo (square image (jpeg or png) to display in the Scriptoria website -- 128x128 or larger)

Google Play API Key
https://scriptoria.io/docs/Creating+a+Google+Play+API+Key.pdf

Keystores

If we get this information (sometimes it is too difficult or people are confused/)

I go to the new organizations page:
https://app.scriptoria.io/admin/settings/organizations/new

And fill in the information ...
Note: we don't have an account for the owner yet, so I normally have to assign it to myself. When the actual owner is added as a user, I try to remember to reset the owner to the user. However, I don't think we use this owner value anywhere in S1.

Image

And it always fails:

Image

Refreshing the page displays it.

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

No branches or pull requests

1 participant