1
0
Fork 0
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:
Maksim Eltyshev 2025-07-07 21:35:37 +02:00
parent b61b4e658f
commit 4346b7040a
8 changed files with 55 additions and 20 deletions

View file

@ -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: {