Moritz Zwerger activity https://gitlab.com/Bixilon 2026-03-17T12:31:09Z tag:gitlab.com,2026-03-17:5212618077 Moritz Zwerger commented on issue #588801 at GitLab.org / GitLab 2026-03-17T12:29:03Z Bixilon Moritz Zwerger [email protected]

@ck3g I was not aware of that, but it makes sense (up to a point).

This raises some concerns/questions:

  • why can you even query a user by their id? This should only be allowed by admins (there is really no reason to it).
  • why can do any queries on private instances?

Can we find a middle way of allowing queries by username if the instance is public? (This is almost the same as scraping their userpage) (and check if the user profile is mabye private, not sure if that is done)

tag:gitlab.com,2026-03-15:5205483440 Moritz Zwerger opened merge request !227398: (group) member finder: check if user has read member permission at GitLab.org / GitLab 2026-03-15T16:13:45Z Bixilon Moritz Zwerger [email protected]

What does this MR do and why?

(group) member finder: check if user has read member permission

This permission is checked in the api endpoints, but not for the web frontend. By default all users with access can read the permission, but that can be changed when revoking the permission (in a custom fork).

How to set up and validate locally

Remove all :read_project_member permissions in app/policies/project_policy.rb and then it is still possible to query the members of a public project on the web frontend.

Note: This does not remove TEAM events from the project activity page (yet). This should be done too, otherwise you can simply rebuild the members.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

tag:gitlab.com,2026-03-15:5205479856 Moritz Zwerger opened merge request !227397: graphql: expose if current user is admin at GitLab.org / GitLab 2026-03-15T16:10:52Z Bixilon Moritz Zwerger [email protected]

What does this MR do and why?

when quering the current user (with access token) it now shows if the user is an instance administrator (already possible via rest).

How to set up and validate locally

GraphQL query:

query {
  currentUser {
    admin
  }
}

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

tag:gitlab.com,2026-03-15:5205474543 Moritz Zwerger pushed new project branch bixilon/members-check-permission-properly at GitLab Community / GitLab.org / GitLab Community Fork 2026-03-15T16:05:11Z Bixilon Moritz Zwerger [email protected]

Moritz Zwerger (8c6b9a5e) at 15 Mar 16:05

(group) member finder: check if user has read member permission

tag:gitlab.com,2026-03-15:5205473958 Moritz Zwerger pushed new project branch bixilon/graphql-expose-current-user-admin at GitLab Community / GitLab.org / GitLab Community Fork 2026-03-15T16:04:37Z Bixilon Moritz Zwerger [email protected]

Moritz Zwerger (f76e3ce7) at 15 Mar 16:04

graphql: expose if current user is admin

tag:gitlab.com,2026-03-14:5204447590 Moritz Zwerger opened merge request !227387: graphql: allow unauthenticated users to query users at GitLab.org / GitLab 2026-03-14T20:49:51Z Bixilon Moritz Zwerger [email protected]

What does this MR do and why?

graphql: allow unauthenticated users to query users

This is needed for viewing user profile pages. This should not impose any new risk, as all details are possible to query with html scraping. GraphQL only makes this machine readable.

Maybe removing the whole authorize! parth is better, not sure.

References

Fixes #588801

How to set up and validate locally

GraphQL request:

query {
  user(username: "bixilon") {
      username
  }
}

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

tag:gitlab.com,2026-03-14:5204446645 Moritz Zwerger commented on merge request !227386 at GitLab.org / GitLab 2026-03-14T20:48:26Z Bixilon Moritz Zwerger [email protected]

It can either be a repository or the container needs to provides the repository. The function is only called for either Repository, Tree or TreeEntry, the latter both have the .repository, so this should be fine (and if not is throws an error, that is also "fine")

tag:gitlab.com,2026-03-14:5204444443 Moritz Zwerger pushed new project branch bixilon/graphql-query-user-unauthenticated at GitLab Community / GitLab.org / GitLab Community Fork 2026-03-14T20:45:30Z Bixilon Moritz Zwerger [email protected]

Moritz Zwerger (dee45b7c) at 14 Mar 20:45

graphql: allow unauthenticated users to query users

tag:gitlab.com,2026-03-14:5204443797 Moritz Zwerger opened merge request !227386: graphql: repository tree: expose last commit at GitLab.org / GitLab 2026-03-14T20:44:44Z Bixilon Moritz Zwerger [email protected]

What does this MR do and why?

Adds the last commit in graphql tree exploring.

This is currently done via "rest" (call to https://gitlab.com/gitlab-community/gitlab-org/gitlab/-/refs/master/logs_tree/?format=json&offset=0). It is much cleaner and more convenient via graphql.

Currently (without using the "rest" api) I need to do a separate graphql request (lastCommit for the path) for each submodule/folder/blob. This hammes gitlab with many requests.

How to set up and validate locally

GraphQL request:

query {
    project(fullPath: "james.garfield/non") {
    repository {
      tree(ref: "master", recursive: false) {
        blobs {
          nodes {              
            lastCommit {
                id
                sha
            }
          }
        }
      }
    }
  }
}

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

tag:gitlab.com,2026-03-14:5204443081 Moritz Zwerger pushed to project branch bixilon/graphql-diffs-stats-commit at GitLab Community / GitLab.org / GitLab Community Fork 2026-03-14T20:43:46Z Bixilon Moritz Zwerger [email protected]

Moritz Zwerger (e5a7b14f) at 14 Mar 20:43

Apply 1 suggestion(s) to 1 file(s)

tag:gitlab.com,2026-03-14:5204439640 Moritz Zwerger opened merge request !227385: graphql: expose diffs stats for commits at GitLab.org / GitLab 2026-03-14T20:40:31Z Bixilon Moritz Zwerger [email protected]

What does this MR do and why?

graphql: expose diffs stats for commits

(This is already exposed via "rest" call to /${project/-/commit/${sha}/diffs_stats). Makes things simpler 😄 (and potentially removes another rest call in the web client when loading a commit).

Not sure, in merge requests the same stat is called diffStatsSummary, maybe that is a better name (don't think so)

References

Fixes #366639

How to set up and validate locally

Following graphql request:

query {
  project(fullPath: "gitlab-community/gitlab-org/gitlab") {
    repository {
      commit(ref: "c2d6268632962602ff93c7304e6d7dff6316314c") {
        diffsStats {
          additions
        }
      }
    }
  }
}

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

tag:gitlab.com,2026-03-14:5204437748 Moritz Zwerger pushed new project branch bixilon/graphql-tree-last-commit at GitLab Community / GitLab.org / GitLab Community Fork 2026-03-14T20:37:32Z Bixilon Moritz Zwerger [email protected]

Moritz Zwerger (f96aea84) at 14 Mar 20:37

graphql: repository tree: expose last commit

tag:gitlab.com,2026-03-14:5204435090 Moritz Zwerger opened merge request !227384: graphql: allow guests to fetch statistics about project at GitLab.org / GitLab 2026-03-14T20:33:45Z Bixilon Moritz Zwerger [email protected]

What does this MR do and why?

graphql: allow guests to fetch statistics about project

References

Fixes #30464

How to set up and validate locally

GraphQL request, see issue.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

tag:gitlab.com,2026-03-14:5204431619 Moritz Zwerger pushed new project branch bixilon/graphql-diffs-stats-commit at GitLab Community / GitLab.org / GitLab Community Fork 2026-03-14T20:30:38Z Bixilon Moritz Zwerger [email protected]

Moritz Zwerger (c2d62686) at 14 Mar 20:30

graphql: expose diffs stats for commits

tag:gitlab.com,2026-03-14:5204429914 Moritz Zwerger pushed new project branch bixilon/allow-public-statistics-graphql at GitLab Community / GitLab.org / GitLab Community Fork 2026-03-14T20:28:11Z Bixilon Moritz Zwerger [email protected]

Moritz Zwerger (177c11a9) at 14 Mar 20:28

graphql: allow guests to fetch statistics about project

tag:gitlab.com,2026-03-14:5204427147 Moritz Zwerger closed issue #593601: Unable to contribute: You have reached the free storage limit of 10 GiB on 1 project at GitLab.org / GitLab 2026-03-14T20:24:06Z Bixilon Moritz Zwerger [email protected] tag:gitlab.com,2026-03-13:5203084930 Moritz Zwerger opened issue #593601: Unable to contribute: You have reached the free storage limit of 10 GiB on 1 project at GitLab.org / GitLab 2026-03-13T22:18:20Z Bixilon Moritz Zwerger [email protected] tag:gitlab.com,2026-02-23:5133251686 Moritz Zwerger pushed to project branch master at Moritz Zwerger / Minosoft 2026-02-23T16:23:00Z Bixilon Moritz Zwerger [email protected]

Moritz Zwerger (99ad0ede) at 23 Feb 16:23

gradle: don't exclude unix files on macos

tag:gitlab.com,2026-02-15:5106089506 Moritz Zwerger commented on merge request !33438 at F-Droid / Data 2026-02-15T17:22:22Z Bixilon Moritz Zwerger [email protected]

Oh yes, that indeed fixes the pipeline. Thanks for the help! All set from my side.