Replies: 9 comments
-
I'm not sure its possible without symlinks My setup is as follows My rights/user file:
Then in my collections/collections-root folder:
What I did was
|
Beta Was this translation helpful? Give feedback.
-
Am a bit confused about your setup, do you give all those 1200 users the same username/password for I've tried to replicate your setup but have it accessible to all users, but it doesn't seem to work for me |
Beta Was this translation helpful? Give feedback.
-
@C0rn3j We distribute it to iOS Devices, Both iPad and iPhones using a MDM solution by pushing out a Configuration Profile (.mobileconfig) to the devices that is pre-configured. The users never actually know what the password is, the profile is just pushed out to all their devices and the account gets added and all the user sees is all the contacts showing up in their address book. So yes, they are all using the same username and password for the read only user. We are distributing the exact same read only address book to all our devices. Just in case your interested i've attached a copy of the .mobileconfig below (zipped up - Just open it in a text editor, its just XML) - CardDAV.mobileconfig.zip I'll run through it as i write this so I'm sure I'm giving you the correct info. For a start, Here's a copy of my rights file and main config file - Config.zip I've changed the location of the collections folder to be inside the Radicale folder, just makes the way I deploy it with docker easier. Should not matter where it is though. So my folder structure is like this:
I've run through the below as i wrote this and can confirm it worked just now:
At this point in your collections-root should just be the one 'admin' folder which contains the collection you just created Now both folders will appear to contain the same collection
Hope this helps you out, let me know either way.. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the writeup and a noob-friendly how-to. My biggest problem was not defining the rights backend in the config file, which means my rights attempts were completely ignored every single time. The rights examples I found before now work as they should, I'll just have to symlink every single LDAP user we have (about a hundred) periodically, but that should be easy. Really wish this was supported natively in Radicale without any symlink hacks |
Beta Was this translation helpful? Give feedback.
-
For posterity - ended up using this not-so-pretty bash script that's executed by cron every once in a while to keep the symlink hack going for all LDAP users. Keeping this issue open as I think this should be available natively.
|
Beta Was this translation helpful? Give feedback.
-
Will this get implemented eventually? |
Beta Was this translation helpful? Give feedback.
-
somehow related to #1457 Using symlinks but no other magic in |
Beta Was this translation helpful? Give feedback.
-
found an old related PR, one need to investigate and rebase: #885 |
Beta Was this translation helpful? Give feedback.
-
for some reason I had to change the permissions in the rights file from rw to RrWw and r to Rr to make the solutions above work. [admin] [readonlyuser] |
Beta Was this translation helpful? Give feedback.
-
I've been trying to figure out how to share an address book.
What I want is an address book only one "admin" account can edit, and everyone else has it shared.
There are issues like this one #696 but perhaps addressbook sharing is an easier issue and is doable without some massive symlink hacks?
If not, how would I go about the symlink hack?
I've tried applying some of this https://github.com/Kozea/Radicale/blob/master/rights in my config to no avail.
Config so far: https://haste.rys.pw/iqerofeyol
Beta Was this translation helpful? Give feedback.
All reactions