Skip to content

Commit 07c18c5

Browse files
authored
Merge pull request #241 from joelluijmes/master
Fixed authorization on SetUserDescriptionAsync
2 parents bb60db6 + 04b3f58 commit 07c18c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/Api/Controllers/EventController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,8 +384,8 @@ public async Task<IHttpActionResult> GetBySessionAsync(string projectId, string
384384
[HttpPost]
385385
[Route("by-ref/{referenceId:identifier}/user-description")]
386386
[Route("~/" + API_PREFIX + "/projects/{projectId:objectid}/events/by-ref/{referenceId:identifier}/user-description")]
387-
//[OverrideAuthorization]
388-
//[Authorize(Roles = AuthorizationRoles.Client)]
387+
[OverrideAuthorization]
388+
[Authorize(Roles = AuthorizationRoles.Client)]
389389
[ConfigurationResponseFilter]
390390
[ResponseType(typeof(List<PersistentEvent>))]
391391
public async Task<IHttpActionResult> SetUserDescriptionAsync(string referenceId, UserDescription description, string projectId = null) {

0 commit comments

Comments
 (0)