• Timothy Andrew's avatar
    Enforce "No One Can Push" during git operations. · 828f6eb6
    Timothy Andrew authored
    1. The crux of this change is in `UserAccess`, which looks through all
       the access levels, asking each if the user has access to push/merge
       for the current project.
    
    2. Update the `protected_branches` factory to create access levels as
       necessary.
    
    3. Fix and augment `user_access` and `git_access` specs.
    828f6eb6
user_access.rb 1.36 KB