merge: Prevent deletion or suspension of system accounts (resolves #625) (!666)
View MR for information: TransFem-org/Sharkey!666 Closes #625 Approved-by:dakkar <dakkar@thenautilus.net> Approved-by:
Marie <github@yuugi.dev>
No related branches found
No related tags found
Showing
- locales/en-US.yml 2 additions, 0 deletionslocales/en-US.yml
- locales/index.d.ts 8 additions, 0 deletionslocales/index.d.ts
- locales/ja-JP.yml 2 additions, 0 deletionslocales/ja-JP.yml
- packages/backend/src/core/DeleteAccountService.ts 2 additions, 0 deletionspackages/backend/src/core/DeleteAccountService.ts
- packages/backend/src/core/UserSuspendService.ts 3 additions, 0 deletionspackages/backend/src/core/UserSuspendService.ts
- packages/backend/src/core/entities/UserEntityService.ts 2 additions, 0 deletionspackages/backend/src/core/entities/UserEntityService.ts
- packages/backend/src/misc/is-system-account.ts 16 additions, 0 deletionspackages/backend/src/misc/is-system-account.ts
- packages/backend/src/models/json-schema/user.ts 5 additions, 0 deletionspackages/backend/src/models/json-schema/user.ts
- packages/backend/src/server/api/SigninApiService.ts 7 additions, 0 deletionspackages/backend/src/server/api/SigninApiService.ts
- packages/backend/src/server/api/endpoints/admin/reset-password.ts 5 additions, 0 deletions.../backend/src/server/api/endpoints/admin/reset-password.ts
- packages/backend/src/server/api/endpoints/admin/show-user.ts 10 additions, 0 deletionspackages/backend/src/server/api/endpoints/admin/show-user.ts
- packages/backend/test/unit/misc/is-system-account.ts 47 additions, 0 deletionspackages/backend/test/unit/misc/is-system-account.ts
- packages/frontend/src/components/MkSignin.vue 5 additions, 0 deletionspackages/frontend/src/components/MkSignin.vue
- packages/frontend/src/pages/admin-user.vue 7 additions, 6 deletionspackages/frontend/src/pages/admin-user.vue
- packages/frontend/src/scripts/show-system-account-dialog.ts 15 additions, 0 deletionspackages/frontend/src/scripts/show-system-account-dialog.ts
- packages/misskey-js/src/autogen/types.ts 4 additions, 0 deletionspackages/misskey-js/src/autogen/types.ts
Loading
Please register or sign in to comment