import, pin禁止
This commit is contained in:
parent
5a4fc6e135
commit
2f3c2af619
11 changed files with 18 additions and 5 deletions
|
|
@ -389,17 +389,24 @@ describe('Account Move', () => {
|
|||
'/gallery/posts/unlike',
|
||||
'/gallery/posts/update',
|
||||
'/i/move',
|
||||
'/i/import-blocking',
|
||||
'/i/import-following',
|
||||
'/i/import-muting',
|
||||
'/i/import-user-lists',
|
||||
'/i/pin',
|
||||
'/mute/create',
|
||||
'/notes/create',
|
||||
'/notes/favorites/create',
|
||||
'/notes/polls/vote',
|
||||
'/notes/reactions/create',
|
||||
'/pages/create',
|
||||
'/pages/like',
|
||||
'/pages/unlike',
|
||||
'/pages/update',
|
||||
'/renote-mute/create',
|
||||
'/users/lists/create',
|
||||
'/users/lists/pull',
|
||||
'/users/lists/push',
|
||||
'/users/lists/update',
|
||||
])('Prohibit access after moving: %s', async (endpoint) => {
|
||||
const res = await api(endpoint, {}, alice);
|
||||
assert.strictEqual(res.status, 403);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue