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…

  • Tiritibambix@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    6 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