Skip to content

Resolve enforce SSO-Only Authentication for Git Activity is blocking Project Access Token use for APIs

Gosia Ksionek requested to merge pat_error into master

What does this MR do?

In !56867 (merged) we blocked access to git-related actions for not logged-in users that are using Group SAML and whose group requires this security measure.

This MR fixes a bug: currently this protection measure touches also Project Access Tokens, this changes are filtering out all non-human users from this block.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

resolves #329922 (closed)

Edited by Gosia Ksionek

Merge request reports

Loading