DarthFubuMVC/fubumvc — pull request #255 by KevM (2012-03-20 21:56:33+00:00)
Title: Fix for authorization policies getting RightsFor() called multiple times

Fixed two instances where authorization policies were having their RightsFor() methods getting called multiple times.

1. The AuthorizationRight.Combine was enumerating the rights enumeration multiple times.

2. The recording authorization policy always called policy RightsFor twice, once for the base class evaluation and then again to record it.

Multiple users have seen this issue in the wild with it being especially painful when it is causing data access to be being done repeatedly.