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

Automatically assigned groups in Crowd have a delayed sync time in Bitbucket

    XMLWordPrintable

Details

    Description

      Issue Summary

      Users in automatically assigned groups in Crowd experience a delay in getting access when synced with Bitbucket

      Steps to Reproduce

      1. Create an application called BB on Crowd
      2. Connect directory to Bitbucket
      3. Run sync
      4. Create a user on Crowd and try log in - doesn’t work (expected)
      5. Set automatic group assignment in Crowd to stash-users
      6. Run sync
      7. Try login with user - doesn't work 

      Expected Results

      User should be able to login and gain access to Bitbucket immediately after the automatic group assignment is set in Crowd

      Actual Results

      User created in step 7 cannot access BB for 15 minutes (or the time set via the property permissions.cache.group-membership.ttl)

      Workaround

      Set permissions.cache.group-membership.ttl to a shorter timeframe e.g. 5 minutes

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ysun Yingran Sun
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: