Looks like in Radicale 3.7, there is improved collection sharing? Has anyone tried using this?

I haven’t tried any sharing previously because it seemed like it wasn’t officially (or well) supported before, since you had to do some weird symlink hack.

Is sharing now more officially supported now? I looked at the UI, but I didn’t see anything mentioning sharing…

  • eszidiszi@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 hour ago

    It’s IMHO poorly documented (in terms of visibility).

    Since it is not enabled by default, you have to edit your config file with the ‘[sharing]’ section. There are two types, by map and token to conform to different usecases. There are also two different storage types, csv and files. Personally i chose map and csv way.

    After adding your config and restarting the server, in the gui you can find a new button to share next to your calendar / carddav and in the bottom right menu an entry to accept invites issued by others.

    I previously shared with the symlink too but since this update i got rid of it and used this new system and, well, it works for me (i’m sharing ro only calendar but you can assing [limited] permissions too).

  • Tiritibambix@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    4 hours ago

    Well, it was officially and well supported before. It is just awfully complicated and unintuitive. So much that I decided to vibecode a GUI to manage my sharings with family members.

    Now that I did that, Radicale’s native sharing and permissions system makes more sense but is still unusable by most people in need of a simple sharing / editing / per user permission management.

    Here’s an example:

    <rights>
    [admin-root]
    user = user1
    collection = 
    permissions = R
    
    [admin-principal]
    user = user1
    collection = user1
    permissions = RrWw
    
    [admin-full]
    user = user1
    collection = user1/.*
    permissions = RrWw
    
    [admin-read-user2-root]
    user = user1
    collection = user2
    permissions = R
    
    [admin-read-user2-cal1]
    user = user1
    collection = user2/cal1
    permissions = Rr
    
    [admin-read-user2-cal2]
    user = user1
    collection = user2/cal2
    permissions = Rr
    
    [user2-root]
    user = user2
    collection = 
    permissions = R
    
    [user2-principal]
    user = user2
    collection = user2
    permissions = RrWw
    
    [user2-full]
    user = user2
    collection = user2/.*
    permissions = RrWw
    
    [user2-read-write-user1-cal3]
    user = user2
    collection = user1/cal3
    permissions = RrWw
    
    [user2-read-user1-cal4]
    user = user2
    collection = user1/cal4
    permissions = Rr
    
    [user2-read-user1-cal5]
    user = user2
    collection = user1/cal5
    permissions = Rr
    
    [user2-read-user1-cal6]
    user = user2
    collection = user1/cal6
    permissions = Rr
    

    For anyone curious about my vibecoded thingy, I just switched the repo to “public”. It’s in French, but can be instructive for anyone willing to understand more about how sharing and permissions work.

    As for Radicale v3.7, I’ll need to check what has changed. Thanks for sharing

  • Shimitar@downonthestreet.eu
    link
    fedilink
    English
    arrow-up
    2
    ·
    15 hours ago

    I have been using the link to share… Its not a weird thing, just a filesystem link between radicale users…

    But if now it’s easier to manage, good to know… Let us know!