OCC commands for calendar shares
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Is your feature request related to a problem? Please describe.
At my office we perform some pre-config on accounts using OCC on our NextCloud server.
It is possible to create calendars for users using OCC, but not to create shares for these calendars.
Describe the solution you'd like
It would be nice to include the 3 following commands:
- dav:list-shares user
- dav:set-share user calendar target user|group 1|0
- dav:delete-share user calendar target user|group
Describe alternatives you've considered
So far I do have coded these functions against the latest version (20.0.0). It works as expected on my local instance of NextCloud.
But:
- I'm not familiar with the code and structure of NextCloud/Calendar so a review may be necessary
- I'm not familiar at all with git/github devel process, so I don't know at this stage how to make a proper "patch proposal"
I added the 3 commands files (mostly inspired by other existing commands in apps/dav/lib/Command/). Please let me know if it of any interest for the project and what I can do to participate the right way if needed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the attached commands.zip and the existing command implementations in apps/dav/lib/Command/. Check how OCC commands create calendars and how calendar shares are represented, then validate the proposed list, set, and delete commands. Done means the three commands work for the stated user, calendar, target, and permission inputs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100