Rubber-Stamp (v.)

What does the idiom “Rubber-Stamp (v.)” mean?

Definition:

Approve something without consideration, as a formality

For example:

“The real power is with the president, and the parliament is expected to rubber-stamp his initiatives.”