• Aaron Wells's avatar
    Prevent automatic running of code submitted by untrusted Gerrit users · e1ce4af9
    Aaron Wells authored
    For security reasons, it's unwise to allow running of arbitrary code
    uploaded my members of the general public. This test should limit
    automated test running, to code uploaded by users who have been
    manually added to the "Mahara Testers" or "Mahara Reviewers" groups.
    (And/or code that has a +2 code review)
    
    The check is against the code *uploader*, not the Gerrit change *owner*,
    so if a patch is rebased by a trusted user, it will trigger automatic
    code execution.
    e1ce4af9
mahara_jenkins.php 11.3 KB