• Tres Seaver's avatar
    Incorporate Jim's feedback: · 8bd1a3c1
    Tres Seaver authored
     - Sync with Python version.  Notably, move check of user's roles *below*
       the test of ownership and proxy roles, which makes the error handling
       *much* cleaner.
    
     - In the case that we have a stack, but the top *doesn't* have proxy roles,
       fall back to the user roles.
    
     - In the case that we have a stack, and the top *does* have proxy roles,
       skip checking the user roles altogether (proxy rolse replace user roles).
    8bd1a3c1
cAccessControl.c 66.1 KB