You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<copyright>Copyright (c) 2021 Jon P Smith</copyright>
9
9
<description>Provides extra authorization and multi-tenant features to a ASP.NET Core application.</description>
10
10
<releaseNotes>
11
-
Bug Fix: Problem in ClaimCalculator when used with multi-tenant applications - see issue #23
11
+
- BREAKING CHANGE: The ITenantChangeService has changed to allow multi-tenant sharding to be added - see the UpdateToVersion2.md file for more info
12
+
- BREAKING CHANGE: The option called AppConnectionString has been removed. Its longer needed because of ITenantChangeService change
13
+
- Changes to the AuthP database which contains a non-breaking migration. This will be automatically added on startup.
14
+
- New Feature: Adding optional sharding to either a single-level or hierarchical multi-tenant applications - see documentation for an article explaining how to setup sharding
15
+
- New Feature: You can mark an AuthUser as disabled, which means no AuthP claims will be added to the user's claims.
Copy file name to clipboardExpand all lines: AuthPermissions.AspNetCore/MultiProjPack.xml
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,17 @@
4
4
<!-- See documentation for all the possible values -->
5
5
<metadata>
6
6
<id>AuthPermissions.AspNetCore</id>
7
-
<version>2.3.1</version>
7
+
<version>3.0.0</version>
8
8
<authors>Jon P Smith</authors>
9
9
<product>AuthPermissions.AspNetCore</product>
10
10
<copyright>Copyright (c) 2021 Jon P Smith</copyright>
11
11
<description>Provides extra authorization and multi-tenant features to a ASP.NET Core application.</description>
12
12
<releaseNotes>
13
-
Bug Fix: Problem in ClaimCalculator when used with multi-tenant applications - see issue #23
13
+
- BREAKING CHANGE: The ITenantChangeService has changed to allow multi-tenant sharding to be added - see the UpdateToVersion2.md file for more info
14
+
- BREAKING CHANGE: The option called AppConnectionString has been removed. Its longer needed because of ITenantChangeService change
15
+
- Changes to the AuthP database which contains a non-breaking migration. This will be automatically added on startup.
16
+
- New Feature: Adding optional sharding to either a single-level or hierarchical multi-tenant applications - see documentation for an article explaining how to setup sharding
17
+
- New Feature: You can mark an AuthUser as disabled, which means no AuthP claims will be added to the user's claims.
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,11 @@ The AuthP is an open-source library under the MIT licence (and remain as a open-
10
10
11
11
The documentation can be found in the [GitHub wiki](https://github.com/JonPSmith/AuthPermissions.AspNetCore/wiki) and see [ReleaseNotes](https://github.com/JonPSmith/AuthPermissions.AspNetCore/blob/main/ReleaseNotes.md) for details of changes. There is also a [roadmap discussion](https://github.com/JonPSmith/AuthPermissions.AspNetCore/discussions/2) containing the plans for this library.
12
12
13
+
The AuthP library is being built in versions (see [roadmap](https://github.com/JonPSmith/AuthPermissions.AspNetCore/discussions/2)). If you have already built your application using an older version, then you need to look at the following "how up update" documents
14
+
15
+
- From Migrating from AuthPermissions.AspNetCore 1.* to 1.0 see [UpdateToVersion2.md](https://github.com/JonPSmith/AuthPermissions.AspNetCore/blob/main/UpdateToVersion2.md)
16
+
- From Migrating from AuthPermissions.AspNetCore 2.* to 3.0 see [UpdateToVersion3.md](https://github.com/JonPSmith/AuthPermissions.AspNetCore/blob/main/UpdateToVersion3.md)
17
+
13
18
The AuthP library also:
14
19
15
20
- Works with any ASP.NET Core authentication provider. Currently has built-in individual accounts and Azure Active Directory versions, but you can create your own.
Copy file name to clipboardExpand all lines: ReleaseNotes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## 3.0.0
4
4
5
-
- BREAKING CHANGE: The ITenantChangeService has changed to allow multi-tenant sharding to be added - see the UpdateToVersion2.md file for more
5
+
- BREAKING CHANGE: The ITenantChangeService has changed to allow multi-tenant sharding to be added - see the UpdateToVersion2.md file for more info
6
6
- BREAKING CHANGE: The option called AppConnectionString has been removed. Its longer needed because of ITenantChangeService change
7
7
- Changes to the AuthP database which contains a non-breaking migration. This will be automatically added on startup.
8
8
- New Feature: Adding optional sharding to either a single-level or hierarchical multi-tenant applications - see documentation for an article explaining how to setup sharding
Copy file name to clipboardExpand all lines: UpdateToVersion3.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
-
# Migrating AuthPermissions.AspNetCore 2.* to 3.0
1
+
# Migrating from AuthPermissions.AspNetCore 2.* to 3.0
2
2
3
3
Version 3 of the AuthPermissions.AspNetCore library (shortened to **AuthP** from now on) contains a new sharding feature for multi-tenant applications. Please read the article called [Part6: Using sharding to build multi-tenant apps using EF Core and ASP.NET Core] LINK ??? for a detailed explanation of sharding and how AuthP library provides a sharding implementation.
4
4
5
5
This article explains how to update an existing AuthPermissions.AspNetCore 2.* project to AuthPermissions.AspNetCore 3.0. I assume that you are using Visual Studio.
6
6
7
7
## TABLE OF CONTENT
8
8
9
-
These are things you need to do to update aan application using AuthP version 2.0 to
9
+
These are things you need to do to update an application using AuthP version 2.0 to
10
10
11
-
-**BRAKING CHANGE**: [Update your ITenantChangeService code](https://github.com/JonPSmith/AuthPermissions.AspNetCore/blob/main/UpdateToVersion3.md#braking-change-update-your-itenantchangeservice-code)
11
+
-**BREAKING CHANGE**: [Update your ITenantChangeService code](https://github.com/JonPSmith/AuthPermissions.AspNetCore/blob/main/UpdateToVersion3.md#braking-change-update-your-itenantchangeservice-code)
12
12
-**Automatically applied**:
13
13
The AuthP DbContext requires a migration to add some new properties in the `AuthUser` and `Tenant` classes. This is a non-breaking migration and will be automatically applied to the AuthP database on startup.
0 commit comments