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

Create new volunteer and organizer roles limited to check-ins only #267

Closed
Tracked by #266
samderanova opened this issue Jan 17, 2024 · 2 comments · Fixed by #296
Closed
Tracked by #266

Create new volunteer and organizer roles limited to check-ins only #267

samderanova opened this issue Jan 17, 2024 · 2 comments · Fixed by #296
Assignees

Comments

@samderanova
Copy link
Contributor

samderanova commented Jan 17, 2024

To start off the construction of our check-in process, we'll have to create new volunteer and organizer roles to grant them access to only the check-in page on the admin site.

While there is a tech_organizer role currently in use, it is not being used, so this can simply be replaced by the organizer role. Additionally, the volunteer role already exists, so the only role that really needs to be created is the organizer one.

@taesungh
Copy link
Member

We already have the volunteer role in the API but will need an organizer role. We can also create a new ORGANIZER_ROLES, similar to ADMIN_ROLES which includes what we need from #268.

On the Admin site side, we should repurpose adminRole.ts as authorization.ts for various Admin-related authorizations.

  • Update isAdminRole to allow organizer and volunteer
  • Use separate isApplicationManager function for the previous admin roles (director and reviewer).
  • Create an empty page called Participants for [Admin Site] Create separate page to facilitate participant check-in process #269 and show this in the AdminSidebar
  • Hide the Applicants path and restrict the related pages to roles which satisfy isApplicationManager
    • Could just redirect to Admin dashboard if unauthorized cause layout itself will check general isAdminRole

@samderanova samderanova changed the title Create new volunteer and organizer roles limited to check-ins only [API] Create new volunteer and organizer roles limited to check-ins only Jan 18, 2024
@samderanova samderanova changed the title [API] Create new volunteer and organizer roles limited to check-ins only Create new volunteer and organizer roles limited to check-ins only Jan 18, 2024
@taesungh
Copy link
Member

Update: volunteers will not be assigned check-in duty, so we'll need to remove them. Will include as part of #326.

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.

3 participants