Skip to content

Allow Terms of Service to link to public repository on same GitLab Instance

Problem to solve

Currently when a GitLab instance forces terms of service you cannot link to a repository within the same instance. If you click on a link to the public repository within the terms you will get sent back to the terms page. Creating a loop

Intended users

GitLab Administrators

Further details

A use case here is a GitLab admin wants to link to a public repository within their GitLab instance where they maintain their terms of service.

The benefit here is that this allows a user to manage their terms of service via a repository.

Proposal

This appears to be a more difficult problem than it looks on the surface. As the TOS page is simply markdown. So there would need to be some form of a special link for the repository to use in the TOS page. There is also the possibility of not signing the user in before accepting the TOS.

Permissions and Security

A GitLab administrator would need access to this via the UI

Testing

This risk poses the possibility of a signed-in user viewing a GitLab instances content without accepting the TOS as set by the GitLab administrator.

What does success look like, and how can we measure that?

Success would be when a GitLab administrator can link to a public repository within the Terms of Service and the user accepting the terms can view that repository.

Links / references