Skip to content

Commit

Permalink
Update 2.1.0.md
Browse files Browse the repository at this point in the history
Co-authored-by: Zoltán Lehóczky <zoltan.lehoczky@lombiq.com>
  • Loading branch information
MikeAlhayek and Piedone committed Sep 24, 2024
1 parent 024ea87 commit 5273938
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/docs/releases/2.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ A new `Type` property has been added to the `IRole` interface, and partially sur

Furthermore, the `SiteOwner` permission has been deprecated and will be removed in future releases. To prevent any breaking changes, we've introduced a fast-track migration that automatically assigns the `Owner` role type to any role with the `SiteOwner` permission.

Instead of authorizing against the `SiteOwner` permission, the Recipes feature now uses its own Manage Recipes permission (which is automatically available for the Administrator role).
!!! warning
Please set the `Owner` type on roles instead of using the `SiteOwner` permission. The latter will be removed in a future version. Don't authorize against the `SiteOwner` permission in code.

Expand Down

0 comments on commit 5273938

Please sign in to comment.