Skip to content

fix(PM-3317): included talent manager to check for profile downloadable role#21

Merged
hentrymartin merged 2 commits intodevelopfrom
pm-3317_2
Jan 12, 2026
Merged

fix(PM-3317): included talent manager to check for profile downloadable role#21
hentrymartin merged 2 commits intodevelopfrom
pm-3317_2

Conversation

@hentrymartin
Copy link
Copy Markdown
Contributor

What's in this PR?

  • Check if the user has Talent manager role and allow them to download anyone profile

*/
const ADMIN_ROLES = ['administrator', 'admin']
const PM_ROLES = ['project manager']
const PROFILE_DOWNLOAD_ROLES = ['project manager', 'Talent Manager']
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

[💡 maintainability]
Consider renaming PROFILE_DOWNLOAD_ROLES to PROFILE_ACCESS_ROLES to better reflect the purpose of the roles, which is to access and download profiles. This can improve clarity and maintainability.

@hentrymartin hentrymartin merged commit de3cc2e into develop Jan 12, 2026
7 checks passed
@hentrymartin hentrymartin deleted the pm-3317_2 branch January 12, 2026 17:22
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.

1 participant