diff --git a/src/permissions/permissions.enum.ts b/src/permissions/permissions.enum.ts new file mode 100644 index 000000000..5d90367cc --- /dev/null +++ b/src/permissions/permissions.enum.ts @@ -0,0 +1,21 @@ +/* + * SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file) + * + * SPDX-License-Identifier: AGPL-3.0-only + */ + +/* + * SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file) + * + * SPDX-License-Identifier: AGPL-3.0-only + */ + +/** + * Represents the Permissions a user may hold in a request + */ +export enum Permission { + READ = 'read', + WRITE = 'write', + CREATE = 'create', + OWNER = 'owner', +}