Stay Updated on Developing Stories

WeWork to limit free beer all-day perk to four glasses

New York(CNN) WeWork is starting to curb the beer consumption of some of its New York City members.

The coworking community mecca is testing new rules on its free beer offering. The move comes at a time when inappropriate office behavior, often fueled by drinking, is under the spotlight at tech companies.

WeWork previously offered an unlimited beer on tap as a perk to member companies. WeWork, which is New York City's largest office tenant, has tiered pricing plans for co-working spaces for individuals and businesses. It operates in more than 20 countries.

Members will now be limited to four 12-ounce glasses of beer available on tap per day, according to a copy of the email sent to members obtained by CNN Business.

They will swipe their building key cards to gain access to taps, but it'll cut them off when the daily limit is met. Meanwhile, the taps will only work during the hours of 12 p.m. to 8 p.m. The trial is expected to last between 30 and 90 days.

"WeWork has been working on piloting an innovative, software-driven mechanism to help manage the provision of alcohol in our spaces for some time. In addition to the supervision already provided by our Community Management team, mechanized tap controls will enhance this amenity we provide to our members," WeWork said in a statement to CNN Business.

MarketWatch first reported the news Wednesday.

The rule applies to the employees of companies that operate out of its New York City facilities -- not its corporate employees. WeWork declined to comment on its internal policies for workplace drinking.

Earlier this month, a lawsuit from a former employee challenged the company's corporate culture and shed light on its alcohol consumption, noting its "free beer on tap all day in all offices policy." The former employee, who claims she was sexually assaulted at two company events and ultimately fired in retaliation for reporting the incidents, alleged that "in both instances, the male employee professed to be too drunk to remember the incident," according to the complaint.

The complaint also alleged WeWork's headquarters hosts a happy hour every Friday. "Employees are all but mandated to attend. It starts at 4pm," the complaint read.

WeWork denied the allegations in a statement at the time: "These claims against WeWork are meritless and we will fight this lawsuit. WeWork has always been committed to fostering an inclusive, supportive, and safe workplace."

WeWork is known for making bold cultural moves. In July, the company issued a company-wide ban on meat, pledging to no longer serve meat at employee events or reimburse them for expensed meals that include red meat, poultry and pork.

-- CNN's Vanessa Yurkevich contributed reporting

Paid Partner Content