Ignore:
Timestamp:
06/24/26 16:28:50 (11 days ago)
Author:
kikisrbinoska <srbinoskakristina07@…>
Branches:
main
Children:
a8f4a2d
Parents:
0b502c2
Message:

Fixed writer section and admin management

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ChapterX.Application/Story/Commands/DeleteHandler.cs

    r0b502c2 r99c1e45  
    2222                return new DeleteResponse(false);
    2323
    24             if (story.UserId != request.CallerId)
     24            if (!request.IsAdmin && story.UserId != request.CallerId)
    2525                throw new UnauthorizedAccessException("You do not own this story.");
    2626
Note: See TracChangeset for help on using the changeset viewer.