mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-11 15:10:48 +02:00
Merge pull request #17221 from overleaf/jel-acceptance-tests
[web] Update SAML and group acceptance tests helpers GitOrigin-RevId: b31abf1e8d34169b5ee428186b6168c083a72d46
This commit is contained in:
@@ -153,31 +153,6 @@ class Subscription {
|
||||
})
|
||||
}
|
||||
|
||||
linkGroupSSO(
|
||||
user,
|
||||
externalUserId,
|
||||
userIdAttribute,
|
||||
auditLog,
|
||||
sessionID,
|
||||
callback
|
||||
) {
|
||||
SubscriptionModel.findById(this._id).exec((error, subscription) => {
|
||||
if (error) {
|
||||
return callback(error)
|
||||
}
|
||||
Modules.hooks.fire(
|
||||
'linkUserToGroupSSO',
|
||||
user._id,
|
||||
subscription,
|
||||
externalUserId,
|
||||
userIdAttribute,
|
||||
auditLog,
|
||||
sessionID,
|
||||
callback
|
||||
)
|
||||
})
|
||||
}
|
||||
|
||||
expectDeleted(deleterData, callback) {
|
||||
DeletedSubscriptionModel.find(
|
||||
{ 'subscription._id': this._id },
|
||||
|
||||
Reference in New Issue
Block a user