- PERF: Fix the role based auth service to not recalculate permission checks again and again.

- Adding some comments to the authorization event handler interface.

--HG--
branch : dev
This commit is contained in:
Suha Can
2010-05-18 13:25:53 -07:00
parent 0f5d492333
commit ba5fd588d1
2 changed files with 7 additions and 0 deletions

View File

@@ -84,6 +84,8 @@ namespace Orchard.Roles.Services {
context.Adjusted = false;
_authorizationServiceEventHandler.Adjust(context);
if (!context.Adjusted)
break;
}
_authorizationServiceEventHandler.Complete(context);