The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

File level access control from Stash?

Karthik Bhat
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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

TAGS
AUG Leaders

Atlassian Community Events