mattia / pagure

Forked from pagure 3 years ago
Clone

1036628 Create an api_authenticated utility method

Authored and Committed by pingou 8 years ago
    Create an api_authenticated utility method
    
    This method ensure that not only the user is authenticated but that he/she
    is at the API level avoiding situation where the user is authenticated in
    the web UI and tries to access the API.
    
        
file modified
+10 -0