I don't know how to use Git and I've tried to manually edit these but my PW 2.2 doenst have the same lines in wire/modules/PagePermissions.module as I've searched for those lines to edit them.
I'm having problems letting users create new pages and I think its related to this. I'm about to launch a site soon and just noticed this today as I had to setup some permissions. Not sure I have time to test the PW with the repeatable field stuff in it yet.
Sorry I found out the setting under "add children" wasnt checked on some items.