Skip to content

Add the ability to disable web UI repo interaction

Intro

I work for a university, and we are looking to use gitlab for all our student and staff needs, code related. Maybe one day we will switch from CE to EE, but for now CE is covering 90% of what we need.

Problem

The problem is that we would like to disable certain functionality in the web UI, for some classes where the student is expected to get to grips with the command-line usage of git.

Basically, from the students perspective, we want to use gitlab to manage their keys. At least for this course. From a demi and lecturer perspective we can then use gitlab to manage groups, students, marking and so on.

At the moment, we cannot see how to disable the ability to edit files, and view repos in the web UI, per student. I can see that this use-case is not exactly that common. In the past, we used gitolite for this, (it has no web interface) but we wish to avoid having more than one server/setup/repo-management-system.

Proposal

Add the ability in the student object to disable certain UI features. This we can then update via webUI or API. Namely, here, we want to switch off the ability for a student to edit and brows their repo. This can then only be achieved by git commands.

Links / references

gitolite

~"feature proposal"