mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01: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 SAMLDomainCaptureManagedUserMissingEmailError extends OError {}
|
||||||
|
|
||||||
class SAMLGroupMemberLimitReachedError extends OError {}
|
class SAMLGroupMemberLimitReachedError extends OError {}
|
||||||
@@ -398,6 +403,7 @@ module.exports = {
|
|||||||
SAMLDomainCaptureRegisterError,
|
SAMLDomainCaptureRegisterError,
|
||||||
SAMLDomainCaptureManagedUserMissingEmailError,
|
SAMLDomainCaptureManagedUserMissingEmailError,
|
||||||
SAMLGroupMemberLimitReachedError,
|
SAMLGroupMemberLimitReachedError,
|
||||||
|
SAMLDomainCaptureManagedUserOptInRequiredError,
|
||||||
SAMLDomainCaptureManagedOptInUserMissingEmailError,
|
SAMLDomainCaptureManagedOptInUserMissingEmailError,
|
||||||
SLInV2Error,
|
SLInV2Error,
|
||||||
ThirdPartyIdentityExistsError,
|
ThirdPartyIdentityExistsError,
|
||||||
|
|||||||
Reference in New Issue
Block a user