Skip to content

Update RoutesProvider for "hacker" role logic #529

@roman20203

Description

@roman20203

Description

Update the RoutesProvider to handle the specific logic for hackers based on their application and RSVP status, we will not include the accessChecks yet.

Hacker Logic:

Hacker:

  • Not submitted an application
    - homepage
    - application form page
  • Application submitted but not accepted or rejected
    - homepage
    - application form page
  • Application submitted and rejected
    - homepage
    - application form page
  • Application submitted, accepted, and not rsvp'd
    - redirect all page requests to the rsvp page
  • Application submitted, accepted, and rsvp'd
    - access to all pages in the dashboard except admin pages
  • Waitlisted
    - homepage

Leave the accessCheck array for each path empty. They will be worked on in another ticket, and we will circle back to fill them in accordingly when the accessChecks ticket is completed.

Checklist

Before submitting this ticket, make sure this ticket:

  • Is labelled properly - if this is a refactor, add the label!
  • Has the correct project assigned to it.
  • Has an assigned milestone.

And lastly:

  • Once someone picks up this ticket, make sure to assign it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfrontendRelated to the frontend of the projectneeds-groomingThis ticket is incomplete and needs additional editing

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions