8351c46 Allow project-less API token to retrieve issues

Authored and Committed by pingou 15 days ago
    Allow project-less API token to retrieve issues
    
    Basically, we were only allowing project-specific API token to
    retrieve the list of opened issues on a project, but there is no
    ACLs associated with listing issues, we only use this to
    authenticate the user and figure out if they can access the
    private issues or not.
    So we should allow project-less API token to perform this
    authentication check.
    
    Fixes https://pagure.io/pagure/issue/4479
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+1 -1