04f4138 [frontend] 'admin' permission grants a possibility to remove bulids, not 'builder'

2 files Authored by frostyx 4 years ago, Committed by msuchy 4 years ago,
    [frontend] 'admin' permission grants a possibility to remove bulids, not 'builder'
    
    The `BuildsLogic.delete_build` allows only users with 'admin' permission
    for the project to remove builds. The 'builder' permission has no
    relevance there.
    
    Therefore our view wrongly displays "Delete all marked" button for
    builders, since they cannot really use it. I am changing it and show
    the "Delete all marked", "Mark all" and checkboxes only to project
    admins.