Changeset 99c1e45 for ChapterX.Application/Story/Commands/DeleteHandler.cs
- Timestamp:
- 06/24/26 16:28:50 (11 days ago)
- Branches:
- main
- Children:
- a8f4a2d
- Parents:
- 0b502c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ChapterX.Application/Story/Commands/DeleteHandler.cs
r0b502c2 r99c1e45 22 22 return new DeleteResponse(false); 23 23 24 if ( story.UserId != request.CallerId)24 if (!request.IsAdmin && story.UserId != request.CallerId) 25 25 throw new UnauthorizedAccessException("You do not own this story."); 26 26
Note:
See TracChangeset
for help on using the changeset viewer.
