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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,456
Community Members
 
Community Events
184
Community Groups

Does bitbucket have a function or plugin for page lock time period + number of times?

Edited

bitbucket 是否有页面锁定时间段+次数的功能或插件?

 

 

2 answers

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Aug 29, 2022

Hi @SWRD-Lastertech-Admin,

If you are looking to prevent users from changing the source code during a specific time frame, we don't have such a feature available out of the box.

You can temporarily change the permissions of users and user groups to a certain repository to Read (this way they won't be able to change the source code of the repo), and then switch back to the original permissions.

You can do it from the Bitbucket website, if you open a repo then go to Repository settings > User and group access

Alternatively, you could also use our APIs to write a script and change the permissions to Read (and then change them back to the original permissions):

https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-repo-slug-permissions-config-groups-group-slug-put

https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-repo-slug-permissions-config-users-selected-user-id-put

Kind regards,
Theodora

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Aug 22, 2022

Welcome to the Atlassian Community!

What do you mean by "page lock"?

Maybe there is a problem with my expression, the code base needs to be locked for a limited time, or the user needs to kick out the specified code base regularly。

Excuse me for the translation software I use

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Aug 23, 2022

Why would you need to stop people using it for a time?

Prepared for temporary use by third parties

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Aug 24, 2022

Why would that need you to stop access to it?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events