Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-2684

authz: unexpected "Circular dependency between groups"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.x
    • 1.4.3
    • mod_authz_svn
    • None

    Description

      While upgrading our svn server to 1.4.2 we noticed this issue when validating
      the authz file:
      svnauthz-validate: Circular dependency between groups 'admins' and 'devs2'
      
      The algorithm to find circular dependencies seems to match the case where a
      group includes another group through two paths. 
      
      Repro:
      
      [groups]
      admins = admin1, admin2
      devs1 = @admins, dev1
      devs2 = @admins, dev2
      users = @devs1, @devs2, user1, user2
      
      The users group includes the admins group through devs1 and devs2. While in my
      opinion this is correct behavior, authz-validate and mod_authz_svn seem to think
      otherwise. 
      
      This works in svn 1.2.3, so I think it's just the authz validation code added in
      r15400 that's at fault here.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            lgo Lieven Govaerts
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: