Hi,
I am trying to implement a hook at the git level. I have a scenario as below:
-> I have a user who wants to create a branch. In my pre-receive hook, I am trying to fetch which user did the push, based on usernames stored in stash (using STASH API)..
Meaning, lets says I have user ishan and user ishah and both have same user info. (same name and email address)
Q: How does stash track which user is pushing into a project in STASH ???
-> For more, lets say "ishan" has permissions to write into that project and "ishah" does not have the permissions. How would stash differentiate between the users and limit ishah from not pushing but allowing ishan to push..