b12bda2 Check FAS for packager status, not pkgdb.

Authored and Committed by ralph 7 years ago
    Check FAS for packager status, not pkgdb.
    
    Before this, we were consulting pkgdb to see if the given user was the
    maintainer of any packages.
    
    That mostly works... but technically, we want to consult FAS to see if
    the user is in the packager group.
    
    We found this when @mprahl was unable to submit builds to rida.  I added
    him to the packager group, but nothing changed!  (As written, he had to
    actually own a package).
    
    This change fixes all that so that we query FAS instead of pkgdb.
    
    Tests are added.
    
        
file modified
+8 -1
file modified
+1 -0
file modified
+29 -25
file modified
+27 -0
file modified
+6 -4
file added
+72