mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 20:59:44 +02:00
feat: Add INTERNAL_ACCESS_TOKEN
to support internal user configuration
This commit is contained in:
parent
b61b4e658f
commit
4346b7040a
8 changed files with 55 additions and 20 deletions
|
@ -81,8 +81,14 @@ const PERSONAL_FIELD_NAMES = [
|
|||
'defaultProjectsOrder',
|
||||
];
|
||||
|
||||
const INTERNAL = {
|
||||
id: '_internal',
|
||||
role: Roles.ADMIN,
|
||||
};
|
||||
|
||||
const OIDC = {
|
||||
id: '_oidc',
|
||||
role: Roles.ADMIN,
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
|
@ -93,6 +99,7 @@ module.exports = {
|
|||
LANGUAGES,
|
||||
PRIVATE_FIELD_NAMES,
|
||||
PERSONAL_FIELD_NAMES,
|
||||
INTERNAL,
|
||||
OIDC,
|
||||
|
||||
attributes: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue