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

File level access control from Stash?

Karthik Bhat February 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
cofarrell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 25, 2014

Hi Karthik,

Have you seen my answer here?

https://answers.atlassian.com/questions/252606/can-stash-or-a-stash-hook-manage-commit-permissions-on-specific-files-or-directories

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:

http://gitolite.com/gitolite/g2/aac.html

Cheers,

Charles

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events