Skip to content

fix: Folder permissions on creation#1480

Open
artonge wants to merge 1 commit intomasterfrom
artonge/fix/folder_permissions
Open

fix: Folder permissions on creation#1480
artonge wants to merge 1 commit intomasterfrom
artonge/fix/folder_permissions

Conversation

@artonge
Copy link
Copy Markdown
Collaborator

@artonge artonge commented Feb 25, 2026

Now that other operation are supported by the web UI, we can use all permissions.

Now that other operation are supported by the web UI, we can use all permissions.

Signed-off-by: Louis <louis@chmn.me>
@artonge artonge self-assigned this Feb 25, 2026
@artonge artonge added 3. to review Waiting for reviews bug Something isn't working javascript Javascript related ticket labels Feb 25, 2026
@artonge artonge requested a review from susnux February 25, 2026 18:46
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

crtime: new Date(),
mtime: new Date(),
permissions: Permission.READ, // TODO: allow more permissions once we support that
permissions: Permission.ALL,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we still need to strip share permissions

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Share permissions were actually what triggered me to change that line. It should be in since you implemented sharing in the web UI, no?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes but the vanilla Nextcloud sharing still needs to be disabled - thats why we still remove share permissions here:

https://github.com/nextcloud/end_to_end_encryption/blob/master/src/middleware/usePropFindInterceptor.ts#L86-L87

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug Something isn't working javascript Javascript related ticket

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants