scientist-softserv / louisville-hyku

Other
0 stars 0 forks source link

[2] importer default admin set #142

Closed orangewolf closed 1 year ago

orangewolf commented 1 year ago

Summary

a user needs to be able to select an admin set when creating/updating an importer

Acceptance Criteria

Screenshots or Video

Image

Testing Instructions

Url: /importers/new?locale=en

orangewolf commented 1 year ago

Linked Items

EPIC 1 - BULKRAX && TESTING

orangewolf commented 1 year ago

Related Merge Requests

28-default-admin-set

orangewolf commented 1 year ago

Alisha January 2022

ref !24

expected behavior

this should be set with the seeds, but if not I updated the "troubleshooting" steps on the repo readme. for some reason, this is only an problem with the single.hyku.test tenant.

demo

Image

orangewolf commented 1 year ago

Summer February 2022

Tested on staging:

![Screen_Shot_2022-02-01_at_8.30.46_AM](/uploads/cfeb63f26b88e2f8ac47b4a5c3ac4575/Screen_Shot_2022-02-01_at_8.30.46_AM.png) ![Screen_Shot_2022-02-01_at_8.30.28_AM](/uploads/ef68da38cae0bf35249646de0281a996/Screen_Shot_2022-02-01_at_8.30.28_AM.png)

Notch8 QA: Passed

orangewolf commented 1 year ago

Rachel February 2022

The Default Admin set was there, but when I tried a test import, I got a "We're sorry, but something went wrong. If you are the application owner check the logs for more information." error.

orangewolf commented 1 year ago

Shana March 2022

After running seeds, try the following if the default admin set still doesn't exist:

  1. Get inside of rails console
  2. Do not switch into a tenant
  3. user = User.find_by(email: 'client@example.com')
  4. user.add_role(:registered)
  5. user.add_role(:admin)
  6. refresh your browser and/or login/out/in again.