Skip to content

Commit

Permalink
Reverted 4d1f352
Browse files Browse the repository at this point in the history
  • Loading branch information
daguiler committed Jan 5, 2021
1 parent 7c3d891 commit 2b78437
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -386,11 +386,6 @@ public HttpResponseMessage AddLogSetting([FromBody] UpdateLogSettingsRequest req
{
try
{
var isAdmin = this.UserInfo.Roles.Contains(this.PortalSettings.AdministratorRoleName);
if (isAdmin)
{
return this.Request.CreateResponse(HttpStatusCode.Unauthorized);
}
request.LogTypePortalID = this.UserInfo.IsSuperUser ? request.LogTypePortalID : this.PortalId.ToString();

var logTypeConfigInfo = JObject.FromObject(request).ToObject<LogTypeConfigInfo>();
Expand Down

0 comments on commit 2b78437

Please sign in to comment.