You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current upload request specification makes it hard to enforce branch based permissions in Gerrit. In order to enforce them Gerrit must first accept all incoming large files, then based on the pushed repository content either discard uploaded objects or keep them.
Such approach leads to waste of user's time, data transfer and server storage.
Adding destination ref information into upload request would solve this issue. Before sending back upload links Gerrit can check user access permissions to given ref, preventing or allowing large object upload.
I just added this to my Git LFS v1.2 list. Now since it's a simple addition that shouldn't affect things, it's likely it'll be in the next 1.1.x release. It really depends on how busy I am, and whether anyone else contributes the code instead :) Anyone that comments on this issue will get pinged on the pull request (unless you ask me not to).
Activity
technoweenie commentedon Nov 19, 2015
👍 Seems legit. This is something that existing implementations can ignore.
rubyist commentedon Nov 19, 2015
👍 here too
brabil commentedon Nov 19, 2015
Would be interested in such feature.
technoweenie commentedon Nov 20, 2015
I just added this to my Git LFS v1.2 list. Now since it's a simple addition that shouldn't affect things, it's likely it'll be in the next 1.1.x release. It really depends on how busy I am, and whether anyone else contributes the code instead :) Anyone that comments on this issue will get pinged on the pull request (unless you ask me not to).
ttaylorr commentedon Apr 16, 2018
This was implemented by @technoweenie in #2712.