Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-7607

Stash 3.10 branchPermissionService.findPermittedEntities broken

      When a user has been assigned branch permissions (see screenshot) the backwards compatible branchPermissionService.findPermittedEntities does not return this user. No users are returned.

      This breaks functionality for plugins that use branchPermissionService instead of DefaultRestrictionService (3.10 only) for backwards compatibility.

        1. branch permissions.png
          33 kB
          Ulrich Kuhnhardt [IzymesDev]
        2. Screen Shot 2015-07-10 at 3.18.34 pm.png
          32 kB
          Ulrich Kuhnhardt [IzymesDev]

          Form Name

            [BSERV-7607] Stash 3.10 branchPermissionService.findPermittedEntities broken

            Owen made changes -
            Workflow Original: Stash Workflow - Restricted [ 1447127 ] New: JAC Bug Workflow v3 [ 3136008 ]
            Owen made changes -
            Workflow Original: Stash Workflow [ 913661 ] New: Stash Workflow - Restricted [ 1447127 ]
            Felix (Inactive) made changes -
            Fix Version/s New: 3.10.2 [ 54826 ]
            Resolution New: Invalid [ 6 ]
            Status Original: Needs Triage [ 10030 ] New: Closed [ 6 ]
            Felix (Inactive) made changes -
            Link New: This issue is related to STASH-7510 [ STASH-7510 ]

            Hi Felix,

            thanks for the pointer. This issue is related to STASH-7510. I could not reproduce the problem with Stash 3.10.2

            Issue can be closed.

            Thank you so much for your help.

            Ulrich Kuhnhardt [IzymesDev] added a comment - - edited Hi Felix, thanks for the pointer. This issue is related to STASH-7510 . I could not reproduce the problem with Stash 3.10.2 Issue can be closed. Thank you so much for your help.

            Hello izymesdev,
            this issue sounds a lot like STASH-7510, which was fixed in Stash 3.10.2.

            Are you still seeing this issue on Stash 3.10.2?

            Regards,
            Felix Haehnel
            Stash Developer

            Felix (Inactive) added a comment - Hello izymesdev , this issue sounds a lot like STASH-7510 , which was fixed in Stash 3.10.2. Are you still seeing this issue on Stash 3.10.2? Regards, Felix Haehnel Stash Developer
            Michael McGlynn (Inactive) made changes -
            Component/s New: Repository - Branch Permissions [ 21191 ]
            Ulrich Kuhnhardt [IzymesDev] made changes -
            Attachment New: Screen Shot 2015-07-10 at 3.18.34 pm.png [ 166766 ]

            the query for branchPermissionService.findPermittedEntities() which returns 0 results, but should return the user.

            Ulrich Kuhnhardt [IzymesDev] added a comment - - edited the query for branchPermissionService.findPermittedEntities() which returns 0 results, but should return the user.
            Ulrich Kuhnhardt [IzymesDev] made changes -
            Attachment New: branch permissions.png [ 166765 ]

              Unassigned Unassigned
              c990e004924e Ulrich Kuhnhardt [IzymesDev]
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: