Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Taking Bitbucket permission management to the next level

48 comments

Tim Chaffin April 18, 2023

That is disheartening. @Patrick Wolf - Atlassian , is the observation by @Sébastien Morin by design?

Like Gazaliy Alade likes this
Patrick Wolf - Atlassian
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 18, 2023

Yes @Tim Chaffin and @Sébastien Morin that is by design and how permissions work in Bitbucket Server and Data Center. The higher privilege takes precedence whenever there is more than one permission configured. 

Assume I have a group with Write access on a project. If I assign a user in that group with Read access on the project or a repo that user will still have Write access from the group based on the order of precedence. 

There are a few reasons that this is the case. 

  1. If this were not true then it would be possible for repository admins to remove permissions from project admins and lock admins out of repositories. This is not a good security practice. 
  2. Creating exceptions to higher level security configuration creates a much more complex security model and violates KISS principle. Looking at the permissions set on the project becomes meaningless if none of the permissions configured on the project are guaranteed to be applied on the repositories. It would be possible to have no project permissions in effect for each repository. 
  3. Trying to create exceptions to work around 1 and 2 increases the complexity of the security model by an order of magnitude. 

Using a strict inheritance model does not allow for every edge case, unfortunately, but it does allow for a much more simple and predictable security model. 

Thanks for the feedback.

Like Tim Chaffin likes this
Moisei
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 19, 2023

del

Jason Prinsen April 20, 2023

Nothing yet in our Projects (4/20)

2023-04-20_10-11-26.png

Matias Sincovich
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 20, 2023

Hello all!
I'm still not able to see in on any of the projects on my organization, I just tried creating a new project but still the "Project Permissions" tab isn't there. 
Do we need to enable anything at organization level?

Patrick Wolf - Atlassian
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 27, 2023

Project Permissions have been enabled on 100% of all workspaces now. Every customer should be able to see it in their project settings.

Like # people like this
Francisco Aguiar April 28, 2023

Thanks. Is there any chance to also get branch permissions at project level? Like bitbucket server. Cascade merge would be great too!

Patrick Wolf - Atlassian
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 28, 2023

@Francisco Aguiar Branch permissions and merge checks were dependent on project permissions. We will begin rolling those out next week.

Like # people like this
Tim Chaffin May 1, 2023

Any word or a Jira I could upvote on setting project level environment variables and secrets?

Like Levente Bedő likes this
Erica Larson May 2, 2023

@Patrick Wolf - Atlassian - any more details on the branch permissions and merge checks? Exciting!  I have not seen those features announced anywhere else?  Anymore information or documentation on this?  Can I bribe you for early access? ;) 

Edmund Munday
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 2, 2023

@Tim Chaffin - you can follow/vote on this ticket for Project Level variables and secrets. It's definitely something we have planned, but we're currently running at full capacity with a few other projects and don't expect to get space for Project Level Variables etc until later in 2023.

Like Levente Bedő likes this
Francisco Aguiar May 3, 2023

@Patrick Wolf - Atlassian &  @Edmund Munday 

Next week or later 2023? Or are we talking about different features?

Edmund Munday
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 3, 2023

Sorry for the confusion @Francisco Aguiar Project-level Branch Permissions and Merge Checks will start rolling out in the coming weeks.

Project-level Pipelines Variables are not something we expect to be able to work on until later in 2023.

Like Francisco Aguiar likes this
Francisco Aguiar May 3, 2023

No problem, thank you @Edmund Munday ! Branch permissions is a must in our team, really looking forward for the next update.

Marcus Kirtley
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 4, 2023

The permission levels mentioned above seem to be different than what was actually implemented.  

Above: 

  • Read - grants permissions providing users with exactly that, only the ability to read the content within any repositories.

Actual: 

  • Read - Can clone, browse and fork any repository withing the project. Can create and contribute to pull requests targeting any of these repositories. 

We have teams that want people to have true Read only access and not have the ability to create PR's. Is the documentation above wrong or was it implemented differently than anticipated? 

lilolme
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 4, 2023

A developer couldn't access a repo for a while even though there was repo level permission. I had to add the project level permission and then after a few hours the project was visible. It might just be how he was accessing the repo.. Ie through project list.

Like Levente Bedő likes this
bagarwal July 4, 2023

Team,

 

I can see you guys broke the branch permissions.

I added few conditions for master such as:

  • Minimum 2 approvals
  • Minimum 1 approval from defaulter list
  • No changes requested
  • Reset approvals when source branch is modified


Previously it used to work but now other team mates directly getting the merge option to master (without any approvals)

Cameron Gocke July 7, 2023

FYI, for anyone interested, there are also limitations in how these permissions can be used to affect tags, which is different from how it worked previously with Bitbucket Server. There is a feature that was opened on my behalf, but which doesn't have much attention so far, which I think is going to be a problem for many of us.

[BCLOUD-22619] Restrict permissions to create and edit tags - Create and track feature requests for Atlassian products.

Alexandre Alencar July 26, 2023

Make it even better by separating repository administration permissions from pipeline management as current model is limited/broken, here is why

You cannot segregate a repository Pipeline management from Users and Groups access management.

If you want to provide a DevOps/SRE/Developer access to set up and update the pipeline, you must also give them Administrator-level access within that repository, which allows them to do about everything, including providing access to other users.

Please make the Pipeline permissions separate from the Repository administration, including the API Access Token permissions, which is broken in the same way.

Tymoteusz Tomaszuk September 19, 2023

Could you explain what will happen with user permissions to creating repositories if we don't provide any Create permissions under particular project? They will not able to create new repos anymore?

MicrosoftTeams-image.png

Jay Lemoine
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 2, 2023

It seems with these changes, in order for someone to create a repo in a project, they need to be an admin. Before we had a group that could create repos, but not projects across the workspace. Now, the only way to do that is allow those users to create projects, so that they can create repos. This is a not working for us. Please do not deprecate the "Create repos" option. That way I can allow certain users to have repo management across the workspace, but not the ability to create  project.

I do like that repos can only be created within a defined project. Ideally, Workspace admin will created the project, and a subgroup will automatically be added but the can only create repos in the project.

Jason Prinsen October 3, 2023

@Jay Lemoine 

As an Development Manager, my workaround is to have a project where anyone can create a repo (a new repo wild west). Then once a week someone like me will come along and move the repos to the correct projects.

That way anyone can make a repo initially but someone who is authorized is part of the process to get them where they need to be so they inherit the correct project permissions.

Alexandre Alencar October 3, 2023

@Jason Prinsen this still does not fix the issue with not having a DevOps/SRE/Developer being able to manage a pipeline WITHOUT also being able to fully manage the repository other aspects.

Like Jason Prinsen likes this

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events