The key principle of a successful sun-cure is to get the green out before hanging for the sun-curing. This is almost impossible in a dry climate, and even difficult in humid areas. The leaf can flash-dry-green in a few hours or a day. Leaving the leaf on the plant is easiest (patience), but nothing wrong with doing the bag thingy, or pile-method, stalk-curing, or air-curing in a shelter, until the green is gone from the leaf lamina. It's OK if the midrib/stem is still green, or some of the veins, or even a bit of the lamina adjacent to the mid-rib or veins, when you move into the sun. You'll just need to try whatever to learn what works for you.
I took me a couple of seasons to figure it out, and learn the hard way. I know some have hung green leaf in the sun successfully, but I think they have just been lucky, or live in a very accommodating envirorment.
After you get them in the sun, for a month or two, or longer, then you need to store, age or ferment.
I see no problem with under-glass, as long as sides are open for ventilation, so they don't cook in the sun. Another caution - the leaf needs to be protected from high winds, will beat the leaf up badly.