I have identified the bug that causes this but with my limited skills in C# don't know how to fix it . The bug is this,
If you have a username that is mixed case i.e. Scott and you login as scott ( no Capital S) then you get all access as expected .
If I create a post when logged in as scott, the post shows as created by Scott - (With a capital S the user name as created)
However if I try and delete this post when logged in as "scott" it does not work so I can only assume that it is checking that the post it is trying to delete was created by the user that is logged in, but is not checking for case
Can anyone identify where and how to fix this