Disable or hide git/https clone options when disabled
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Release notes
Problem to solve
Within groups, it is possible to limit git access protocols to Only SSH
or Only HTTP(S)
. When one applies Only SSH
, this makes any attempt to use HTTPS
to e.g. clone or push fail.
However, within the projects of this group, the Code
button still offers both the Clone with HTTPS
link and IDE options. This is potentially confusing to developers trying to use this link to no avail.
I think it would make sense in this situation to disable these link, possibly with an informative hover message, or hide them altogether.
Intended users
- developers
User experience goal
The user will not be offered options in the project Code UI button that are bound to result in a failed operation due to group configuration.
Proposal
Options:
- disable the links/buttons
- hide the links/buttons entirely