This is a very common practice in many third world airport: there is an additional security check organized by the airline before boarding. I have to do this shit all the time. Of course I know some airports where I don't actually check my luggage or go through controls myself but send some personnel to do that for me while I have a beer, this has to be one of the least secure practice ever.
Brussels zaventem. Even the flight to Ben gurion had shoddy security