Skip to content

Conversation

@hentrymartin
Copy link
Collaborator

Related JIRA Ticket:

https://topcoder.atlassian.net/browse/PM-3454

What's in this PR?

  • Fixed the list of issue QA added to the ticket

Ticket link - https://topcoder.atlassian.net/browse/PM-3404


export const ADMIN_ROLES = [UserRole.administrator]

export const PHONE_NUMBER_ROLES = [

Choose a reason for hiding this comment

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

[⚠️ maintainability]
Consider using the UserRole enum for the roles in PHONE_NUMBER_ROLES to ensure consistency and avoid potential typos or mismatches with other parts of the codebase.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@hentrymartin please use the UserRole enum. We try to avoid hardcoded roles.


export const ADMIN_ROLES = [UserRole.administrator]

export const PHONE_NUMBER_ROLES = [
Copy link
Collaborator

Choose a reason for hiding this comment

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

@hentrymartin please use the UserRole enum. We try to avoid hardcoded roles.

@hentrymartin
Copy link
Collaborator Author

@kkartunov I've fixed the PR based on the suggestion. Can you please review it again?

@kkartunov kkartunov self-requested a review January 23, 2026 17:26
@hentrymartin hentrymartin merged commit 0ac520c into dev Jan 23, 2026
8 checks passed
@hentrymartin hentrymartin deleted the pm-3454_1 branch January 23, 2026 17:41
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.

3 participants