Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Radicale
  3. Shared Calendars in Radicale

Shared Calendars in Radicale

Scheduled Pinned Locked Moved Solved Radicale
11 Posts 2 Posters 2.3k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • colonelpanicC Offline
      colonelpanicC Offline
      colonelpanic
      wrote on last edited by
      #1

      Hi team,

      The Cloudron documentation for Radicale outline how to setup custom permissions using a rights file. This file does not exist in the /app/data/ folder. If created, it does not persist through a restart of the container. Is this a bug or am I missing something?

      Thanks in advance.

      colonelpanicC 1 Reply Last reply
      1
      • colonelpanicC colonelpanic

        Hi team,

        The Cloudron documentation for Radicale outline how to setup custom permissions using a rights file. This file does not exist in the /app/data/ folder. If created, it does not persist through a restart of the container. Is this a bug or am I missing something?

        Thanks in advance.

        colonelpanicC Offline
        colonelpanicC Offline
        colonelpanic
        wrote on last edited by
        #2

        Is there a better category within the forums for me to post this issue/question? Or should I be submitting an issue on the repo instead? Please let me know as I need to resolve this.

        nebulonN 1 Reply Last reply
        0
        • colonelpanicC colonelpanic

          Is there a better category within the forums for me to post this issue/question? Or should I be submitting an issue on the repo instead? Please let me know as I need to resolve this.

          nebulonN Away
          nebulonN Away
          nebulon
          Staff
          wrote on last edited by
          #3

          @colonelpanic this is the correct place. Sorry I didn't get around earlier to test this, but I can confirm the file gets purged on restart and that is actually intentional since we switched the package to ldap authentication. However that purging should have only been done for that one release and I overlooked to remove it from the startup script.

          I will release a new package release shortly to fix this.

          nebulonN 1 Reply Last reply
          3
          • nebulonN nebulon

            @colonelpanic this is the correct place. Sorry I didn't get around earlier to test this, but I can confirm the file gets purged on restart and that is actually intentional since we switched the package to ldap authentication. However that purging should have only been done for that one release and I overlooked to remove it from the startup script.

            I will release a new package release shortly to fix this.

            nebulonN Away
            nebulonN Away
            nebulon
            Staff
            wrote on last edited by
            #4

            The latest package release should have this fixed.

            colonelpanicC 3 Replies Last reply
            1
            • nebulonN nebulon

              The latest package release should have this fixed.

              colonelpanicC Offline
              colonelpanicC Offline
              colonelpanic
              wrote on last edited by
              #5

              @nebulon, awesome. I will test it and report back. Thanks!

              1 Reply Last reply
              0
              • nebulonN nebulon

                The latest package release should have this fixed.

                colonelpanicC Offline
                colonelpanicC Offline
                colonelpanic
                wrote on last edited by colonelpanic
                #6

                @nebulon, the rights file does persist now. Thanks for fixing this! I'm going to mark this as solved.

                1 Reply Last reply
                1
                • nebulonN nebulon

                  The latest package release should have this fixed.

                  colonelpanicC Offline
                  colonelpanicC Offline
                  colonelpanic
                  wrote on last edited by
                  #7

                  @nebulon, I might have been to quick to mark this as solved. The /app/data/rights file is still there after a restart. However, the /app/code/config file has the rights type set to owner_only. See screenshot below. So Radicale doesn't actually use the rights file.

                  CleanShot 2022-01-18 at 18.59.09@2x.png

                  nebulonN 1 Reply Last reply
                  2
                  • colonelpanicC colonelpanic

                    @nebulon, I might have been to quick to mark this as solved. The /app/data/rights file is still there after a restart. However, the /app/code/config file has the rights type set to owner_only. See screenshot below. So Radicale doesn't actually use the rights file.

                    CleanShot 2022-01-18 at 18.59.09@2x.png

                    nebulonN Away
                    nebulonN Away
                    nebulon
                    Staff
                    wrote on last edited by
                    #8

                    @colonelpanic thanks for the hint to the issue. So I guess we have to get back to the rights file type only, to support such use-cases.

                    Unfortunately I wasn't able to figure out today how to craft a rights file, which also shows already existing data after update. Will continue later, if anyone has more experience with the rights file, the data layout currently is {collectionroot}/{username}/{collectionid} also we use our own LDAP module at https://git.cloudron.io/cloudron/radicale-app/-/tree/master/radicale_cloudron_ldap_auth

                    1 Reply Last reply
                    1
                    • nebulonN Away
                      nebulonN Away
                      nebulon
                      Staff
                      wrote on last edited by
                      #9

                      I have published a new app package, which is now based on a default /app/data/rights file, which should ensure current installations still work. @colonelpanic after the update, can you first remove the /app/data/rights file and restart the app, so it sets the default one and then apply your custom changes?

                      colonelpanicC 1 Reply Last reply
                      1
                      • nebulonN nebulon

                        I have published a new app package, which is now based on a default /app/data/rights file, which should ensure current installations still work. @colonelpanic after the update, can you first remove the /app/data/rights file and restart the app, so it sets the default one and then apply your custom changes?

                        colonelpanicC Offline
                        colonelpanicC Offline
                        colonelpanic
                        wrote on last edited by colonelpanic
                        #10

                        @nebulon, looks great! I upgraded, removed the rights file, restarted the container, and made my changes to the rights file. It looks like it is working now. Thanks a bunch for all your work on this. I hope it wasn't too much of a pain.

                        nebulonN 1 Reply Last reply
                        3
                        • colonelpanicC colonelpanic

                          @nebulon, looks great! I upgraded, removed the rights file, restarted the container, and made my changes to the rights file. It looks like it is working now. Thanks a bunch for all your work on this. I hope it wasn't too much of a pain.

                          nebulonN Away
                          nebulonN Away
                          nebulon
                          Staff
                          wrote on last edited by
                          #11

                          @colonelpanic no worries, always good to fix things which come up during real use-cases.

                          andreasduerenA 1 Reply Last reply
                          2
                          • girishG girish forked this topic on
                          • andreasduerenA andreasdueren referenced this topic on
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • Bookmarks
                            • Search