forked from mirrors/misskey
feat(backend/ApiCallService): allow limited access for suspend accounts
This commit is contained in:
@@ -9,7 +9,7 @@ import { AchievementService, ACHIEVEMENT_TYPES } from '@/core/AchievementService
|
||||
|
||||
export const meta = {
|
||||
requireCredential: true,
|
||||
prohibitMoved: true,
|
||||
prohibitDeactivated: true,
|
||||
} as const;
|
||||
|
||||
export const paramDef = {
|
||||
|
||||
@@ -16,7 +16,7 @@ import { ApiError } from '../../error.js';
|
||||
export const meta = {
|
||||
secure: true,
|
||||
requireCredential: true,
|
||||
prohibitMoved: true,
|
||||
prohibitDeactivated: true,
|
||||
|
||||
limit: {
|
||||
duration: ms('1hour'),
|
||||
|
||||
@@ -15,7 +15,7 @@ import { ApiError } from '../../error.js';
|
||||
export const meta = {
|
||||
secure: true,
|
||||
requireCredential: true,
|
||||
prohibitMoved: true,
|
||||
prohibitDeactivated: true,
|
||||
|
||||
limit: {
|
||||
duration: ms('1hour'),
|
||||
|
||||
@@ -15,7 +15,7 @@ import { ApiError } from '../../error.js';
|
||||
export const meta = {
|
||||
secure: true,
|
||||
requireCredential: true,
|
||||
prohibitMoved: true,
|
||||
prohibitDeactivated: true,
|
||||
limit: {
|
||||
duration: ms('1hour'),
|
||||
max: 1,
|
||||
|
||||
@@ -15,7 +15,7 @@ import { ApiError } from '../../error.js';
|
||||
export const meta = {
|
||||
secure: true,
|
||||
requireCredential: true,
|
||||
prohibitMoved: true,
|
||||
prohibitDeactivated: true,
|
||||
|
||||
limit: {
|
||||
duration: ms('1hour'),
|
||||
|
||||
@@ -15,7 +15,7 @@ import { ApiError } from '../../error.js';
|
||||
export const meta = {
|
||||
secure: true,
|
||||
requireCredential: true,
|
||||
prohibitMoved: true,
|
||||
prohibitDeactivated: true,
|
||||
limit: {
|
||||
duration: ms('1hour'),
|
||||
max: 1,
|
||||
|
||||
@@ -25,7 +25,7 @@ export const meta = {
|
||||
|
||||
secure: true,
|
||||
requireCredential: true,
|
||||
prohibitMoved: true,
|
||||
prohibitDeactivated: true,
|
||||
limit: {
|
||||
duration: ms('1day'),
|
||||
max: 5,
|
||||
|
||||
@@ -13,7 +13,7 @@ export const meta = {
|
||||
tags: ['account', 'notes'],
|
||||
|
||||
requireCredential: true,
|
||||
prohibitMoved: true,
|
||||
prohibitDeactivated: true,
|
||||
|
||||
kind: 'write:account',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user