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

[Super Admin] implement "Add organization" flow #155

Open
teodoranegru opened this issue Aug 29, 2024 · 1 comment · Fixed by #202
Open

[Super Admin] implement "Add organization" flow #155

teodoranegru opened this issue Aug 29, 2024 · 1 comment · Fixed by #202

Comments

@teodoranegru
Copy link

teodoranegru commented Aug 29, 2024

As a Super Admin user, I want to be able to add organizations/institutions to the platform.

Main flows

Add organization:

  1. Super Admin user navigates to the "Utilizatori instituționali" page
  2. User clicks on "Adaugă o instituție" button
  3. The system retrieves the "Adaugă instituție" page (see design here)
  4. User fills in the fields from the "Detalii organizație" step/tab
  5. User clicks on the "Pasul următor" button
  6. System retrieves the "Centre" step/tab
  7. User fills in the information about the center/tenant
    IF the organization has more than 1 center
    7.1. User clicks in the "Adaugă încă un centru" button
    7.2. System displays a repeater component
    7.3. User fills in the information about the center
  8. User clicks on the "Pasul următor" button
  9. The system retrieves the "Administrator" step/tab
  10. User fills in the information about the NGO Admin user
    IF they want to have more than 1 NGO Admin user accounts
    10.1 User clicks in the "Adaugă încă un administrator" button
    10.2. System displays a repeater component
    10.3. User fills in the information about the other NGO Admin user
  11. User clicks on the "Finalizează" button
  12. The system retrieves the "Utilizatori instituționali" page with the added institution in the "Toate instituțiile" table, displays the success message and sends the invitation email to the email address(es) filled in the Email field for (each) NGO Admin user (see here the email template)

Edit details insitution

  1. Super Admin user navigates to the "Utilizatori instituționali" page
  2. User cliks on the "Vezi detalii" button
  3. System retrieves the institution profile page (link)
  4. User clicks on the "Editează" button
  5. System retireves the "Editează detalii organizație" page
  6. User edits the information and clicks on the "Salvează modificările" button
  7. System retrieves the institution profile page and displays the success message

Deactivate institution

  1. Super Admin user navigates to the "Utilizatori instituționali" page
  2. User cliks on the "Vezi detalii" button
  3. System retrieves the institution profile page
    IF instituiton status=Activ/Pending
  4. User clicks on the "Dezactivează organizație" button
  5. System retrieves the "Dezactivează organizație" modal screen (link)
  6. User clicks on the "Dezactvează organizație" button
  7. System restricts platform access for all users from that organization; organisation status=Suspendat; displays the "Reactivează organizație" button

Business rules

  1. An institution has to have at least 1 center and 1 administrator. The user can't delete the last center/admin.
  2. When an institution is created, the default status is Pending until 1 of the administrators accesses their account (sets the password) when the status changes to Activ. If the organization is deactivated by the super admin, the status changes to Suspendat.
@teodoranegru teodoranegru changed the title WIP [Super Admin] implement add organization flow WIP [Super Admin] implement "Add organization" flow Aug 30, 2024
@teodoranegru
Copy link
Author

The NGO Admin user will be displayed in the Staff table `with no role and all permissions selected (cannot be unselected)

@teodoranegru teodoranegru changed the title WIP [Super Admin] implement "Add organization" flow [Super Admin] implement "Add organization" flow Oct 14, 2024
@alexPopaCode4 alexPopaCode4 linked a pull request Oct 29, 2024 that will close this issue
@gheorghelupu17 gheorghelupu17 reopened this Nov 4, 2024
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

Successfully merging a pull request may close this issue.

2 participants