mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 01:11:23 +03:00
feat: Add ability to map OIDC attributes and ignore username
Closes #554
This commit is contained in:
@@ -116,6 +116,7 @@ module.exports = {
|
||||
..._.omit(this, ['password', 'isSso', 'avatar', 'passwordChangedAt']),
|
||||
isLocked: this.isSso || isDefaultAdmin,
|
||||
isRoleLocked: (this.isSso && !sails.config.custom.oidcIgnoreRoles) || isDefaultAdmin,
|
||||
isUsernameLocked: (this.isSso && !sails.config.custom.oidcIgnoreUsername) || isDefaultAdmin,
|
||||
isDeletionLocked: isDefaultAdmin,
|
||||
avatarUrl:
|
||||
this.avatar &&
|
||||
|
||||
Reference in New Issue
Block a user