mirror of
https://github.com/plankanban/planka.git
synced 2025-12-19 09:13:20 +03:00
feat: Add INTERNAL_ACCESS_TOKEN to support internal user configuration
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user