sabre-io / Baikal

Baïkal is a Calendar+Contacts server
https://sabre.io/baikal/
GNU General Public License v3.0
2.52k stars 291 forks source link

Lock carddav account to read-only #1033

Open ersouza-WS opened 3 years ago

ersouza-WS commented 3 years ago

Is it possible to lock an account so it can only be used to read an addressbook without write capability. There's a lock table in the database but is that component active?

DeepDiver1975 commented 3 years ago

the lock table is used for webdav locking which is not what you are looking for. to set a webdav resource to read-only it's acls have to be set accordingly.

Besides the theory above I cannot quote on the actual implementation of baikal if acls can be set ....

ecaballero-hrhc commented 1 year ago

Is it possible to lock an account so it can only be used to read an addressbook without write capability. There's a lock table in the database but is that component active?

Did you find a way to lock carddav or caldav in Baikal?

Tntdruid commented 1 year ago

You can if you share the calendar

Go to domain.tld/dav.php/calendars/add calendar name here

go to the bottom of the page look for

firefox_2023-02-28_16-12-16

amigainc commented 1 year ago

This doesn't seem to answer the question. I've found this solution, I'll try it out: https://groups.google.com/g/sabredav-discuss/c/K9fVdizwZdg