Skip to content

Conversation

@AlreadyBored
Copy link
Contributor

@AlreadyBored AlreadyBored commented Nov 20, 2025

Pull Request Guidelines

Issue:
N/A

Description:
Power users should be able to create interviews, limitation is applied to only mentors-non power users

Self-Check:

  • Database migration added (if required)
  • Changes tested locally

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modifies the authorization logic for creating interviews to allow power users (admins and course managers) to bypass the interview start date restriction that applies to regular mentors.

  • Modified the createInterview function to exempt power users from the interview start date check
  • Power users can now create interviews at any time, while regular mentors must still wait until the interview period has started

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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 this pull request may close these issues.

2 participants