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

Critical bug: hierarchical multi-tenant applications to sometimes access another tenant’s data. #12

Closed
JonPSmith opened this issue Dec 17, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@JonPSmith
Copy link
Owner

While working on Version 2 of this library I found a bug in the use of the DataKey which can cause hierarchical multi-tenant applications to sometimes access another tenant’s data. This is therefore a critical bug.

This bug is fixed in AuthPermissions.AspNetCore 2.0.0.

BUT if you built a single or hierarchical multi-tenant application using Version 1 of this library, then you need to migrate your application's databases that use the DataKey. This section in the [Migrate from AuthPermissions.AspNetCore 1.* to 2.0] document explains how to do this.

NOTE: Single multi-tenant applications in version 1 didn’t have a bug, but the AuthP DataKey uses the same DataKey for Single and Hierarchical multi-tenant, so you still need to follow this information when upgrading to Version 2.

@JonPSmith JonPSmith added the bug Something isn't working label Dec 17, 2021
@JonPSmith JonPSmith self-assigned this Dec 17, 2021
@JonPSmith
Copy link
Owner Author

Fixed in Version 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant