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

Closed
Hexasoft opened this issue Oct 16, 2020 · 2 comments
Closed

OCC commands for calendar shares #23509

Hexasoft opened this issue Oct 16, 2020 · 2 comments

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.

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

No branches or pull requests

4 participants