• Bob Van Landuyt's avatar
    Filter params in MR build service · 6c27c0d3
    Bob Van Landuyt authored
    Reusing the existing `IssuableBaseService#filter_params` which uses
    the policies to determine what params a user can set, and which values
    it can be set to.
    
    This also removed the need for the seperate call to
    `IssuableBaseService#ensure_milestone_available`.
    
    The `Issues::BuildService` does not suffer from this because it limits
    the params that are assignable to the `title`, `description` and
    `milestone_id`.
    6c27c0d3
security-bvl-filter-mr-params.yml 107 Bytes