Gitlab::Git::PreReceiveError: You are not allowed to manage designs of this project
This seems a bit odd. The authorization check should have failed on the mutation before the authorization check in GitAccessDesign
. Is it possible that user
is different in these two contexts?
Error details
https://sentry.gitlab.net/gitlab/gitlabcom/issues/1500182/?referrer=gitlab_plugin
Gitlab::Git::PreReceiveError: You are not allowed to manage designs of this project
gitlab/gitaly_client/operation_service.rb:338:in `user_commit_files'
raise Gitlab::Git::PreReceiveError, pre_receive_error
repository.rb:821:in `block in multi_action'
with_cache_hooks { raw.multi_action(user, **options) }
repository.rb:804:in `with_cache_hooks'
result = yield
gitlab/metrics/instrumentation.rb:161:in `block in with_cache_hooks'
.measure { super }
gitlab/metrics/method_call.rb:36:in `measure'
retval = yield
...
(245 additional frame(s) were not displayed)
Gitlab::Git::PreReceiveError: You are not allowed to manage designs of this project