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

Updated review wording for new access requests and releases #1467

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

ARADDCC002
Copy link
Member

No description provided.

@@ -37,11 +37,11 @@ export async function requestReviewForRelease(entity: string, review: ReviewDoc,
}

const emailContent = buildEmail(
`Release ${release.semver} has been created for model ${release.modelId}`,
`Release ${release.semver} for model ${release.modelId} is ready for your review`,
Copy link
Member

Choose a reason for hiding this comment

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

Under a previous ticket, BAI-1383, all emails that require a user to do something should now have ""ACTION REQUIRED:" prepended to the subject?

@@ -68,11 +72,10 @@ export async function requestReviewForAccessRequest(
}

const emailContent = buildEmail(
`Request for Entities '${accessRequest.metadata.overview.entities}' access to the model '${accessRequest.modelId}'`,
`${requestingEntitiesText(accessRequest.metadata.overview.entities.length)} requesting access to model ${accessRequest.modelId}`,
Copy link
Member

Choose a reason for hiding this comment

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

I'm assuming you've done this because the raw list of entities isn't nice to look at. Normally I'd suggest using getUserInformation() so convert them all to friendly name but here we might have both users and groups. How do we present groups nicely in the frontend if we don't have a group equivalent for getUserInformation()?

@ARADDCC002 ARADDCC002 merged commit 7cf5166 into main Aug 21, 2024
14 checks passed
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