mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #30697 from overleaf/jel-fix-new-managed-user-via-account-linking
[web] Throw error if new user via domain capture not opted to be managed GitOrigin-RevId: 1e18447ea337854d39f8e89df52ef20f8f1d382f
This commit is contained in:
@@ -204,6 +204,11 @@ class SAMLRequestDeniedError extends SAMLAuthenticationError {
|
||||
}
|
||||
}
|
||||
|
||||
class SAMLDomainCaptureManagedUserOptInRequiredError extends OError {
|
||||
// use OError instead of SAMLDomainCaptureError since SAMLMiddleware will check for
|
||||
// SAMLDomainCaptureError and update SAML audit log but these errors do not need to be logged
|
||||
}
|
||||
|
||||
class SAMLDomainCaptureManagedUserMissingEmailError extends OError {}
|
||||
|
||||
class SAMLGroupMemberLimitReachedError extends OError {}
|
||||
@@ -398,6 +403,7 @@ module.exports = {
|
||||
SAMLDomainCaptureRegisterError,
|
||||
SAMLDomainCaptureManagedUserMissingEmailError,
|
||||
SAMLGroupMemberLimitReachedError,
|
||||
SAMLDomainCaptureManagedUserOptInRequiredError,
|
||||
SAMLDomainCaptureManagedOptInUserMissingEmailError,
|
||||
SLInV2Error,
|
||||
ThirdPartyIdentityExistsError,
|
||||
|
||||
Reference in New Issue
Block a user