• Resolved jnorell

    (@jnorell)


    Hello,

    So far I’ve not been able to get this plugin to work, having “no edit link” like many of the other folks posting here – but in my case, I would prefer the ability make the cookie optional, and implement a simple policy for logged in users that if they are the comment author, they are allowed to edit the comment. There is the sce_can_edit hook, but that is applied after the cookie check, and there is no way to bypass it – I’d be happy to contribute a “sce_can_edit_early” hook in a merge request if you’d accept it.

    And is there any reason not to make that the default logic (plus a check for comment date), which takes place before the cookie check? If cookies are working (and they don’t in many places, thanks in part to gdpr), it seems that all they would do is attempt to verify it’s the same person which made the comment – and that verification is already handled for logged in users. If cookies aren’t working, this plugin fails, and the user cannot edit their comments. In short, for logged in users, it seems the only thing cookies have the potential to do is cause problems.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘bypass cookies ?’ is closed to new replies.