User can't fork repository. User is added into the project and repository with admin permission, forking is set to enable. but still retuns with the error shwon below
Hello @Aleksandre Rukhadze
thank you for reaching out to Community!
When forking a repository you will be prompted to provide the destination workspace and project of the new repo (fork repo) that will be created. So besides having a fork enabled in the source repository, the user doing the fork also needs to have permission to create a new repo in the destination project/workspace.
Since the fork can be saved in a different project or even a different workspace, could you please confirm the user in question has Admin or Create access in the destination project and workspace?
To check that you can Navigate to the destination project in the UI > select Project Settings > Project permissions. Make sure the user has direct Admin or Create permission, or is part of a user group in the project that includes those permissions.
Thank you, @Aleksandre Rukhadze !
Patrik S
Hi Patrick,
user has only admin permission in some projects and repositories, he is not a worksapce admin.
He was trying to fork inside the project where he has admin permission.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Aleksandre Rukhadze ,
thank you for the confirmation.
It seems you are being affected by a bug in the platform where having admin or create permission in the project is not allowing to fork a repository inside the project. This is being tracked in the following ticket on Bitbucket public issue tracker :
I would suggest you to add your vote there, since this helps both developers and product managers to understand the impact. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all bug fixes are implemented with this policy in mind.
In the meantime, the user needs to be part of a group that has Admin permission in the workspace to be able to create the fork, or they can create the fork in a different workspace where they have admin permission.
Thank you, @Aleksandre Rukhadze !
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.