Any reason why {% requirePermission 'editEntries:1' %} would stop working within the past week or so? This worked fine last week when the site was in development:

{% requirePermission 'editEntries:1' %}


We made the site live a few days ago. I dont know if its related, but when I now go to pages with this on, I am getting

HTTP 403 – Forbidden – yii\web\ForbiddenHttpException
User is not permitted to perform this action


I have doubled checked all settings, they are still the same. The logged in user getting this message is in a group that is allowed to editEntries for section 1. 

Thanks
Assuming you've recently updated to Craft 3.1, if you look in your userpermissions table you'll see that they're now lowercase and using UIDs rather than integer IDs, like this:

editentries:3bb69b06-3e65-4ae5-8d70-6c47c1a88fbe


The only place I can find anything like this documented is in the "Updating Plugins for Craft 3.1" guide

https://craftcms.com/guides/updating-plugins-for-craft-3-1#update-element-source-key-references