mreynolds / pagure

Forked from pagure 7 years ago
Clone

b55d2a3 Add a different method to fetch project

6 files Authored by farhaan 7 years ago, Committed by pingou 7 years ago,
    Add a different method to fetch project
    
    `get_authorized_project()` is introduced in `pagure/__init__.py` to get
    project and filter it in a way to only return project which the logged
    in user is authorized to view.
    
    Previous approach of passing a function to the as a parameter may fail
    in some aspect hence it is avoided.
    
        
file modified
+10 -0
file modified
+1 -1
file modified
+2 -8
file modified
+14 -14
file modified
+14 -13
file modified
+31 -30