Skip to content

Commit c4c5bdb

Browse files
committed
set correct permission
1 parent 6d4d659 commit c4c5bdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VirtoCommerce.Platform.Web/Controllers/Api/SettingController.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public async Task<ActionResult<ObjectSettingEntry[]>> GetGlobalModuleSettingsAsy
5959
/// <returns></returns>
6060
[HttpGet]
6161
[Route("{name}")]
62-
[Authorize(PlatformConstants.Security.Permissions.SettingAccess)]
62+
[Authorize(PlatformConstants.Security.Permissions.SettingQuery)]
6363
public async Task<ActionResult<ObjectSettingEntry>> GetGlobalSettingAsync(string name)
6464
{
6565
var result = await _settingsManager.GetObjectSettingAsync(name);

0 commit comments

Comments
 (0)