Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-20106

Users in a User Group that does not have 'Create repo' permissions (now, or at least once enabled in the past), cannot create snippets in this Workspace

XMLWordPrintable

      Issue Summary

      Users in a User Group that does not have at least 'Create repo permissions' (now, or did not have it enabled at least once in the past), cannot create snippets in this Workspace.

      Please note, this only affects newly created User Groups in a Workspace. When a Workspace is created, two User groups are created for this Workspace as well, 'Administrators' and 'Developers'.

      The bug is not reproducible for these two User groups, even if you change their permissions.

      Steps to Reproduce

      1. Create a Bitbucket User 1
      2. Create a Bitbucket User 2
      3. Log in to Bitbucket User 1
      4. Create a Workspace, Workspace1
      5. In Workspace1, create a new User Group, 'Test Users'
      6. Default repository access does not matter, select whatever you want
      7. Leave 'Create repositories' and 'Administer workspace' options unchecked
      8. Add Bitbucket User 2 in 'Test Users' of Workspace1

      Then:

      1. Log in to Bitbucket with Bitbucket User 2
      2. Accept the invitation to Workspace1
      3. From the sidebar on the left, select Create >> Snippet

      Expected Results

      The workspace 'Workspace1' will show as an option for snippet owner, in the dropdown 'Create in'

      Actual Results

      The workspace 'Workspace1' does not show as an option for snippet owner, in the dropdown 'Create in'

      Workaround

      1. Log in with Bitbucket User 1
      2. Go the User Groups page of Workspace1
      3. Open Test Users User Group
      4. Select Edit for the User Group
      5. Check the option Create repositories for this User group and Save

      If you want, you can then disable this option, and the bug will still no longer occur

      1. Then Edit this User Group again, uncheck the option Create repositories and Save

              lrivkin@atlassian.com Leah Rivkin (Inactive)
              tboudale Theodora Boudale (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: