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

First user added when a new org is created should be Org Admin. #996

Open
ghost opened this issue Feb 2, 2018 · 2 comments
Open

First user added when a new org is created should be Org Admin. #996

ghost opened this issue Feb 2, 2018 · 2 comments
Assignees
Milestone

Comments

@ghost
Copy link

ghost commented Feb 2, 2018

Story

When a new org is created, the first user added to the org should be the new Org Admin. He needs to be able to configure the organization and if required assign any subsequent users Org Admin rights.

Acceptance crietria

GIVEN a new user registers a new org
AND the org is added to both Chargebee and Tola Data
AND same user registers to Tola Data as a user in the new org
THEN same user should be added as an org admin to the new org

Further info

First user is added as a View Only user.

@ghost ghost added this to the v2.2 milestone Feb 2, 2018
@ghost ghost added the blocker label Feb 2, 2018
@karrla karrla modified the milestones: v2.2, v2.3 Feb 2, 2018
@karrla karrla removed the blocker label Feb 2, 2018
@ghost ghost changed the title First user created when a new org is created should be Org Admin. First user added when a new org is created should be Org Admin. Feb 5, 2018
@karrla karrla modified the milestones: v2.3, v2.4 Feb 16, 2018
@jefmoura jefmoura self-assigned this Feb 23, 2018
@karrla
Copy link
Member

karrla commented Mar 13, 2018

@jefmoura
Test did not pass. The same user that registered with Chargebee and then registered with TolaData should be added as an org admin to the new org - but they are added as VIEW ONLY

Example:
Staging
ORG: GRANOLA
USER: GRANOLA

@jefmoura
Copy link
Member

jefmoura commented Mar 14, 2018

There are some changes in the process

  • If we don't send an email to the user we don't know who is the OrgAdmin. The OrgAdmins can create a subscription on ChargeBee, close the browser and done, the system doesn't know who is the OrgAdmin anymore because they closed the browser and didn't register right after the subscription.
  • It's not possible to know if the first user registering is really the person who created the subscription in ChargeBee. Because of that, we're sending an E-mail with a registration link to the guy who subscribed the organization, so they can register in the system later and they will be the OrgAdmin.

@jefmoura jefmoura assigned karrla and unassigned jefmoura Mar 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants