Skip to content

Missing Documentation for String-Based Permission ValuesΒ #13291

@alperozturk96

Description

@alperozturk96

In this documentation, permissions are represented as integer values such as (int) 1 = read; 2 = update; 4 = create; 8 = delete; 16 = share; 31 = all (default: 31, for public shares: 1).

However, when performing a PROPFIND operation, the permission information returned for files is in a string format (e.g., SGDNV, SRGDNVCK).

The correlation between these string and the integer values is missing.

According to my tests

SRGDNVCK β†’ Can Edit
SGDNV β†’ Custom Permission only Edit
Also, SGDNV β†’ View Only

We need to know which custom permission is active for a file based on its string value on the client side, so that we can implement this feature.

Version: 31.0.6.2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions