Iridescent-CM / technovation-app

The team submission platform for the Technovation Challenge
https://technovationchallenge.org
GNU General Public License v3.0
7 stars 4 forks source link

Lock down Chapter Admin Activity until ChA is onboarded #4689

Open shaun-technovation opened 5 months ago

shaun-technovation commented 5 months ago

A chapter ambassador should not be able to access Chapter Admin Activity (or any page in the Chapter Admin Activity section) without being fully onboarded.

dboyer commented 4 months ago

In order to access chapter admin activity, the following steps are required:

The outline of the workflow is here

shaun-technovation commented 4 months ago

Regarding these steps:

  • The chapter details are filled out (public info, location, program info)

For public info - chapter name and program summary would need to be filled out? For location - organization HQ location would need to be filled out? For program info - which questions need to be answered? All of them?

dboyer commented 4 months ago

All fields must be completed including at least one program link.

Yes, for now. Eventually when we add in location that will need to be filled out too.

All questions are required except for "If you are planning a Launch Event or info session please share the date." ChAs may partially fill out the form and return to it later or edit it during the season, but all questions must be filled out (except for launch event) in order for this task to be checked out and for the ChA to get access to the admin activity.

shaun-technovation commented 4 months ago

Just a brief update for this one, I have a WIP up for this, but I'm still working on failing tests; tests are failing because a chapter ambassador (and their chapter) needs to be fully onboarded to access pages now that previously didn't have this restriction. And to make a fully onboarded chapter ambassador and chapter for the tests requires quite a bit of work to make the factories and associations (which are lacking for a lot of the new work we've been doing).

shaun-technovation commented 4 months ago

A few notes for this one:

Also while working on this I had to update a lot of the tests to make a ChA and their chapter onboarded. Something that arose while updating the specs:

shaun-technovation commented 4 months ago

I also created the concept of chapter onboarding while working on this and created two followup issues:

shaun-technovation commented 4 months ago

I already have really big PR for this work, so I added #4786 for adding "viewing community connections" as a requirement to be able to access the chapter admin activity area.

shaun-technovation commented 4 months ago

This is on Preview, but no need to test this until I get #4779 and #4791 completed.

shaun-technovation commented 3 months ago

This can be tested now on Preview.

In order to access Chapter Admin Activity a chapter ambassador needs seven items completed:

dboyer commented 3 months ago

Tested on preview and confirmed I could not access the chapter activity admin page without confirming:

I also confirmed that the chapter affiliation agreement is necessary to access the chapter admin pages. #4827 supports adding it as a chapter onboarding task.