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
* Fixed parsing of node if in content and media permission querystring handlers to retrieve expected value when multiple are provided in the querystring.
* Add HttpPost attributes to backoffice endpoints that should only accept post requests.
* Bumped version to 13.6.1.
* Narrow PermissionQueryString parsing to the releveant UmbracoObjectType
* Add missed update from v10
---------
Co-authored-by: Sven Geusens <[email protected]>
[ContentSaveValidation(skipUserAccessValidation:true)]// skip user access validation because we "only" require Settings access to create new blueprints from scratch
Copy file name to clipboardexpand all lines: tests/Umbraco.Tests.UnitTests/Umbraco.Web.BackOffice/Authorization/ContentPermissionsQueryStringHandlerTests.cs
+32-14
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,7 @@
1
1
// Copyright (c) Umbraco.
2
2
// See LICENSE for more details.
3
3
4
-
usingSystem.Collections.Generic;
5
4
usingSystem.Security.Claims;
6
-
usingSystem.Threading.Tasks;
7
5
usingMicrosoft.AspNetCore.Authorization;
8
6
usingMicrosoft.AspNetCore.Http;
9
7
usingMicrosoft.Extensions.Primitives;
@@ -34,7 +32,7 @@ public class ContentPermissionsQueryStringHandlerTests
Copy file name to clipboardexpand all lines: tests/Umbraco.Tests.UnitTests/Umbraco.Web.BackOffice/Authorization/MediaPermissionsQueryStringHandlerTests.cs
+32-13
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,7 @@
1
1
// Copyright (c) Umbraco.
2
2
// See LICENSE for more details.
3
3
4
-
usingSystem.Collections.Generic;
5
4
usingSystem.Security.Claims;
6
-
usingSystem.Threading.Tasks;
7
5
usingMicrosoft.AspNetCore.Authorization;
8
6
usingMicrosoft.AspNetCore.Http;
9
7
usingMicrosoft.Extensions.Primitives;
@@ -33,7 +31,7 @@ public class MediaPermissionsQueryStringHandlerTests
Copy file name to clipboardexpand all lines: tests/Umbraco.Tests.UnitTests/Umbraco.Web.BackOffice/Authorization/MediaPermissionsResourceHandlerTests.cs
+1-1
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ public async Task Resource_With_Media_With_Permission_Is_Authorized()
0 commit comments