Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for orphaned EntityReferences #5

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Fix for orphaned EntityReferences #5

wants to merge 4 commits into from

Conversation

djsmith
Copy link

@djsmith djsmith commented Sep 28, 2010

This adds an EventListener that deletes security information (EntityReferences) when any entity tracked by Rhino.Security is deleted from the system.

I had to use some reflection code to get the entity security key without being able to use the generic method, which also catches and ignores exceptions from ServiceLocator.GetInstance(), but I couldn't think of any better way to get the job done.

Regards
Dan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant