/
githubmirror
/
strapi
Обзор
Документация
Войти
/
githubmirror
/
strapi
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
tests/app-template/src/api/config/routes/config.js
38 строк
735 B
Nico André
feat(admin): api token supports admin permissions and admin user ownership (#25657)
29 апр 2026, 18:57
Не верифицирован
29 апр 2026, 18:57
52b8fd9
Код
Авторство
О чём код?
'use strict'; module.exports = { routes: [ { method: 'POST', path: '/config/ratelimit/enable', handler: 'config.rateLimitEnable', config: { auth: false, }, }, { method: 'POST', path: '/config/permissions/prune', handler: 'config.permissionsPrune', config: { auth: false, }, }, { method: 'POST', path: '/config/permissions/resync-super-admin', handler: 'config.permissionsResyncSuperAdmin', config: { auth: false, }, }, { method: 'POST', path: '/config/resettransfertoken', handler: 'config.resetTransferToken', config: { auth: false, }, }, ], };