Using variables within the branch name regex

Description

Is it possible to check that only a specific user can only commit to the branch?

e.g. my username is paderka (${BITBUCKET_USER_SLUG}) and I have branch user/paderka/my-bugfix. I want to be sure that only me is able to commit to that branch. Regex should be something like this `user/${BITBUCKET_USER_SLUG}/.{3,}`

Assignee

Unassigned

Reporter

Mohammed Davoodi

Sprint

None

Labels

Priority

Lowest
Configure