File tree Expand file tree Collapse file tree
tests/playwright/support/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 */
55
66import type { APIRequestContext } from '@playwright/test'
7+ import { Permission } from '@nextcloud/files'
78
8- /** Nextcloud share permission bits (see OCS Share API). */
9- export const SharePermission = {
10- READ : 1 ,
11- UPDATE : 2 ,
12- CREATE : 4 ,
13- DELETE : 8 ,
14- SHARE : 16 ,
15- } as const
169
1710/** All permissions a user share can grant. */
18- export const ALL_PERMISSIONS = SharePermission . READ
19- | SharePermission . UPDATE
20- | SharePermission . CREATE
21- | SharePermission . DELETE
22- | SharePermission . SHARE
11+ export const ALL_PERMISSIONS = Permission . READ
12+ | Permission . UPDATE
13+ | Permission . CREATE
14+ | Permission . DELETE
15+ | Permission . SHARE
2316
2417/**
2518 * Create a user-to-user share via the OCS Share API. Seeding shares through the
You can’t perform that action at this time.
0 commit comments