Divide the chicken legs into upper and lower legs and rub salt and olive oil all around. Put the chicken pieces in a roaster or large casserole dish in the oven (middle rack). Total cooking time approx. 60-80 minutes, depending on the oven.
Peel the onions and garlic. Cut the onions into thin wedges and the garlic (except for 1 clove) into thin slices. Wash the potatoes and cut in halves or quarters depending on the size. Wash the herbs, pat dry and chop, mix with the potatoes, the other ingredients, 4 tablespoons of oil and salt. After 15 minutes of roasting, distribute around the legs.
Wash and quarter the tomatoes, add to the legs and potatoes together with the olives after another 40 minutes.
For the chilli paste, core the chilli peppers, finely chop the garlic and chilli and mix with 4 tablespoons of oil and 2 tablespoons of brown sugar (or mortar / puree). About 15 minutes before the end of the roasting time, drizzle the chicken and, if you like, the vegetables. Season everything again vigorously with salt and pepper and serve on deep plates.