Grigory Vodyanov 48ca71008c fix(dav): apply sharing rules to calendars and address books
Calendar and address book shares only checked that the sharee exists.
They now follow the same admin settings as the share dialog: the share
API toggle, excluded groups, group sharing, and sharing with group
members only together with its exclude list. Removing a share is
always allowed. Scheduling to principal: URIs applies the group
members restriction as mailto: already did.

With the trash bin enabled, a deleted calendar kept its shares, and the
share based lookups did not check deleted_at, so sharees and public
links kept using the calendar until it was purged. Only the owner sees
calendars in the trash bin now. Trashed objects are no longer served as
children of their calendar, only through the trash bin, and only the
owner can restore a deleted calendar.

The system address book is meant to be read-only, but cards built for
trusted servers had no ACL, its write-acl privilege allowed sharing it,
and property changes updated its shared row. Cards now get the
read-only ACL, sharing it is refused and existing share rows are
ignored, and properties are stored per account. Its sync applies the
same enumeration filter as listing it.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>
2026-11-26 14:21:21 +01:00
2026-07-20 09:39:23 +02:00
2026-11-25 20:56:47 +00:00
2026-11-25 21:19:41 +00:00
2026-09-10 10:00:06 +02:00
…
…
2026-10-30 16:01:58 +00:00
…
…
…
2026-10-24 00:37:17 +02:00
2026-09-10 14:54:34 +00:00
…
2026-08-23 14:42:13 +00:00

Nextcloud Server ☁

REUSE status codecov CII Best Practices Design

A safe home for all your data.

Why is this so awesome? 🤩

  • 📁 Access your Data You can store your files, contacts, calendars, and more on a server of your choosing.
  • 🔄 Sync your Data You keep your files, contacts, calendars, and more synchronized amongst your devices.
  • 🙌 Share your Data …by giving others access to the stuff you want them to see or to collaborate with.
  • 🚀 Expandable with hundreds of Apps ...like Calendar, Contacts, Mail, Video Chat and all those you can discover in our App Store
  • 🔒 Security with our encryption mechanisms, HackerOne bounty program and two-factor authentication.

Do you want to learn more about how you can use Nextcloud to access, share, and protect your files, calendars, contacts, communication & more at home and in your organization? Learn about all our Features.

Get your Nextcloud 🚚

Enterprise? Public Sector or Education user? You may want to have a look into Nextcloud Enterprise provided by Nextcloud GmbH.

Get in touch 💬

You can also get support for Nextcloud!

Join the team 👪

There are many ways to contribute, of which development is only one! Find out how to get involved, including as a translator, designer, tester, helping others, and much more! 😍

Development setup 👩‍💻

  1. 🚀 Set up your local development environment
  2. 🐛 Pick a good first issue
  3. 👩‍🔧 Create a branch and make your changes. Remember to sign off your commits using git commit -sm "Your commit message"
  4. ⬆ Create a pull request and @mention the people from the issue to review
  5. 👍 Fix things that come up during a review
  6. 🎉 Wait for it to get merged!

Third-party components are handled as git submodules which have to be initialized first. So aside from the regular git checkout invoking git submodule update --init or a similar command is needed, for details see Git documentation.

Several apps that are included by default in regular releases such as First run wizard or Activity are missing in master and have to be installed manually by cloning them into the apps subfolder.

Otherwise, git checkouts can be handled the same as release archives, by using the stable* branches. Note they should never be used on production systems.

Testing your code

We use multiple test frameworks for specific areas of the code:

  • PHPUnit for PHP unit tests
  • Behat for PHP integration tests
  • Vitest for Javascript / Typescript unit tests
  • Playwright for end-to-end tests

For our end-to-end tests using Playwright you can refer to our documentation on how to debug errors and to contribute new test cases.

Tools we use 🛠

Helpful bots at GitHub 🤖

  • Comment on a pull request with /update-3rdparty to update the 3rd party submodule. It will update to the last commit of the 3rd party branch named like the PR target.

Ignore code style updates in git blame

git config blame.ignoreRevsFile .git-blame-ignore-revs

Contribution guidelines 📜

All contributions to this repository from June 16, 2016, and onward are considered to be licensed under the AGPLv3 or any later version.

Nextcloud doesn't require a CLA (Contributor License Agreement). The copyright belongs to all the individual contributors. Therefore we recommend that every contributor adds the following line to the AUTHORS file if they made substantial changes to the code:

- <your name> <your email address>

Please read the Code of Conduct. This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere and to explain how together we can strengthen and support each other.

Please review the guidelines for contributing to this repository.

More information on how to contribute: https://nextcloud.com/contribute/

Languages
PHP 55.7%
JavaScript 34.1%
TypeScript 5%
Vue 3.4%
Gherkin 1.2%
Other 0.5%