6690c75 Hide the SSH clone URL if the user is not in one of the group with ssh access

Authored and Committed by pingou 4 years ago
    Hide the SSH clone URL if the user is not in one of the group with ssh access
    
    Some deployment of pagure have it set up in such a way that only the
    members of certain groups can commit via SSH.
    For this reason, there is not need to display the ssh url since they
    cannot use it.
    
    Fixes https://pagure.io/pagure-dist-git/issue/97
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+16 -0
file modified
+18 -0