0

act_as_tenant gem 根据每个请求根据子域设置租户。如果用户在完美的时刻点击了不同租户的页面......是否可以将其他人的操作保存到不正确的租户?

4

1 回答 1

0

AaT uses RequestStore (https://github.com/steveklabnik/request_store?source=c) to store the current tenant at the middleware level.

As far as i'm aware this makes AaT immune to the type of race conditions you describe.

于 2013-05-29T19:43:55.693 回答