Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
Severity 2 - Major
-
288
-
5
-
Description
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
- Create a Bitbucket User 1
- Create a Bitbucket User 2
- Log in to Bitbucket User 1
- Create a Workspace, Workspace1
- In Workspace1, create a new User Group, 'Test Users'
- Default repository access does not matter, select whatever you want
- Leave 'Create repositories' and 'Administer workspace' options unchecked
- Add Bitbucket User 2 in 'Test Users' of Workspace1
Then:
- Log in to Bitbucket with Bitbucket User 2
- Accept the invitation to Workspace1
- 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
- Log in with Bitbucket User 1
- Go the User Groups page of Workspace1
- Open Test Users User Group
- Select Edit for the User Group
- 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
- Then Edit this User Group again, uncheck the option Create repositories and Save
Attachments
Issue Links
- relates to
-
BCLOUD-20107 For private workspaces, users in a User group that does not have at least 'Create repo' permissions, are not able to view repos listed when opening the Workspace URL
- Closed