Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCC commands for calendar shares #23509

Open
Hexasoft opened this issue Oct 16, 2020 · 5 comments
Open

OCC commands for calendar shares #23509

Hexasoft opened this issue Oct 16, 2020 · 5 comments
Assignees
Labels

Comments

@Hexasoft
Copy link

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.

commands.zip

@tcitworld tcitworld transferred this issue from nextcloud/calendar Oct 16, 2020
@skjnldsv
Copy link
Member

As this sounds like a nice feature, the requests for this are quite low. Currently there a no plans to implement such a feature. Thus I will close this ticket for now. This does not mean we don't want this feature, but it is simply not on our roadmap for the near future. If somebody wants to implement this feature nevertheless we are happy to assist and help out.

@ferfebles
Copy link

We manage several schools and would like to create a calendar for each one, to be shared read only with the students and read/write with the directors group for that school.

Similar as groupfolders work, but for calendars.

We maintain the students, teachers and directors groups daily. So the schools don´t need to worry about managing the access to theese resources.

@ChristophWurst ChristophWurst added 1. to develop Accepted and waiting to be taken care of feature: dav feature: caldav Related to CalDAV internals labels Aug 26, 2024
@miaulalala
Copy link
Contributor

@Hexasoft would you be able to open a PR with your commands? Or would you be ok with me opening one and then adding your commit signoff to it as well?

@Hexasoft
Copy link
Author

@Hexasoft would you be able to open a PR with your commands? Or would you be ok with me opening one and then adding your commit signoff to it as well?

You are welcome to use my code in any way you want. I don't have much time and this is not a priority here at my office. Regards.

@miaulalala
Copy link
Contributor

This could really use some additional commands like listing Address books and also a new column in the output to show which type of access the share is - we added "unshare" to the sharing backend and that should show up somewhere so wrong info isn't assumed.

@ChristophWurst ChristophWurst added 2. developing Work in progress and removed 1. to develop Accepted and waiting to be taken care of labels Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🏗️ In progress
Development

No branches or pull requests

6 participants