Archiva
  1. Archiva
  2. MRM-694

Virtual repositories or repository grouping

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Component/s: repository interface
    • Labels:
      None
    • Patch Submitted:
      Yes
    • Number of attachments :
      4

      Description

      A number of managed repositories can be grouped together with that group having only one url. So you only need to specify that url in the settings.xml file and when Archiva receives a request via that url, it would look for that artifact from the repositories belonging to that group.

      More details are dicussed here:
      http://www.nabble.com/Archiva-1.1-Roadmap-td15262645.html#a15263879

      1. MRM-694-archiva-configuration.patch
        1.0 kB
        Nap Ramirez
      2. MRM-694-archiva-webapp.patch
        11 kB
        Nap Ramirez
      3. MRM-694-archiva-webdav.patch
        6 kB
        Nap Ramirez
      4. MRM-694-web-interface.patch
        64 kB
        Maria Catherine Tan

        Issue Links

        There are no Sub-Tasks for this issue.

          Activity

          Hide
          Brett Porter added a comment -

          I found that I was able to access the contents of a repository I didn't have access to via a group it was included in.

          Setup:

          • 'test' repository (guest has read access)
          • 'testing' repository (guest has no access)
          • 'all-test' group that includes both

          Accessing all-test with the group gives access to both repositories, while accessing via testing asks for authentication.

          Show
          Brett Porter added a comment - I found that I was able to access the contents of a repository I didn't have access to via a group it was included in. Setup: 'test' repository (guest has read access) 'testing' repository (guest has no access) 'all-test' group that includes both Accessing all-test with the group gives access to both repositories, while accessing via testing asks for authentication.
          Hide
          Maria Odea Ching added a comment -

          Brett, I can't seem to replicate this
          Were you logged in Archiva when you accessed the repo group?

          Show
          Maria Odea Ching added a comment - Brett, I can't seem to replicate this Were you logged in Archiva when you accessed the repo group?
          Hide
          Brett Porter added a comment -

          nope, I wasn't

          Show
          Brett Porter added a comment - nope, I wasn't
          Hide
          Maria Odea Ching added a comment -

          Hmm.. maybe this happened because of the browsing history stored in the browser?

          I was able to replicate this when I previously logged in as 'admin' and browsed the repo group, then logged out. When I accessed the repo group, I was still able to browse everything and when I tried accessing the repo which the guest user has read access, I was prompted for authentication. But when I cleared the browsing history and tried the repo group url again, I was only able to see the repositories which guest has read access to.

          Show
          Maria Odea Ching added a comment - Hmm.. maybe this happened because of the browsing history stored in the browser? I was able to replicate this when I previously logged in as 'admin' and browsed the repo group, then logged out. When I accessed the repo group, I was still able to browse everything and when I tried accessing the repo which the guest user has read access, I was prompted for authentication. But when I cleared the browsing history and tried the repo group url again, I was only able to see the repositories which guest has read access to.
          Hide
          Brett Porter added a comment -

          you're right sorry!

          Show
          Brett Porter added a comment - you're right sorry!

            People

            • Assignee:
              Maria Odea Ching
              Reporter:
              Maria Odea Ching
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: