It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

File level access control from Stash?

Karthik Bhat Feb 24, 2014

Is it possible to give access control on file level for a repository hosted in Stash? As per Stash's documentation, we can control permissions on global, project, repository and branch levels.

If it is not possible from Stash, is there an alternative for giving file level access control in GIT repo from GIT itself?

1 answer

1 accepted

0 votes
Answer accepted
Charles O'Farrell Feb 25, 2014

Hi Karthik,

Have you seen my answer here?

Basically not at the moment, although it is technically possible as a plugin or pre-receive hook. Personally I would suggest you break your repositories into smaller modules and secure them that way.

Otherwise I've only ever seen this implemented in Gitolite, but it won't be possible to integrate that with Stash:



Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

1,999 views 1 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you