In the wake of the Harvey Weinstein scandal, a woman named Anne Victoria Clark took to Medium this week to write a hilarious piece on how men should treat women in the workplace by describing a sexual harassment prevention tool she called "The Rock Test."

Her hack was simple: "Treat all women like you would treat Dwayne 'The Rock' Johnson" — and it just got the stamp of approval from The Rock himself.

The actor shared the story on Twitter Wednesday with a thumbs up emoji and hashtag #TheRockTest.

"When you men approach woman (sic), just think of me," he reminded his fans.

After explaining the hack, Clark goes on to give a few examples of where "The Rock Test" can be used: In meetings, in work outings and any other settings that involves women.

She then summarized how the test can help men interact with women without behaving inappropriately.

"Simply offer them the same respect, admiration, and healthy dose of fear you’d offer anyone who could completely destroy you should you deserve it," she wrote.

Check out more of The Rock in the gallery below.