<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>
<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px;
}
body {
font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px; font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">
<p style="color: #777777;">
<a href="https://gitlab.rtems.org/amar">Amar Takhar</a>
commented on a
<a href="https://gitlab.rtems.org/administration/gitlab/-/issues/99#note_124712">discussion</a>:
</p>
<div class="md" style="position: relative; z-index: 1; color: #28272d; word-wrap: break-word;">
<p dir="auto" style="color: #28272d; margin: 0 0 16px;" align="initial">Only administrators can create toplevel groups on our instance so that is not a concern for us. The CODEOWNER one is not a concern either because it's only used if you have developer+ access. Even if someone grabs a name that's in a CODEOWNER file they won't have any relevant permissions to be able to do anything about it but it is annoying for sure.</p>
<p dir="auto" style="color: #28272d; margin: 0 0 16px;" align="initial">GitLab internally uses IDs for everything the name is just display so takeover of a group is not possible as their user ID would be different. CODEOWNER uses usernames which is why it's an annoyance but you'd still have to re-add that person with the relevant permissions to that namespace/repo in order for them to be able to do anything.</p>
<p dir="auto" style="color: #28272d; margin: 0 0 16px;" align="initial">As far as the redirection, you're right that's how it works there is only one level of inference and the redirect stays alive as long as a repo isn't named. But there could be no hijacking as on our instance the only permissions any user has is to create personal repositories and groups within their <em style="margin-top: 0;">own</em> namespace. Only people with admin access can create toplevel groups and owner level in that namespace to create further namespaces inside.</p>
<p dir="auto" style="color: #28272d; margin: 0 0 16px;" align="initial">I'm fine if automation breaks if it's using the API having to deal with a redirect is a slowdown anyway.</p>
<p dir="auto" style="color: #28272d; margin: 0;" align="initial">Thank you for the highlights great to have this written down somewhere.</p>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #737278;">
—
<br>
<a href="https://gitlab.rtems.org/administration/gitlab/-/issues/99#note_124712">View it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.rtems.org">gitlab.rtems.org</a>. <a href="https://gitlab.rtems.org/-/sent_notifications/84cca2f50da5f64778aae29dae4d950a/unsubscribe" target="_blank" rel="noopener noreferrer">Unsubscribe</a> from this thread · <a href="https://gitlab.rtems.org/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.rtems.org/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.rtems.org/administration/gitlab/-/issues/99#note_124712"}}</script>
</p>
</div>
</body>
</html>