Additional buttons on pages do not work with active permissions and roles

Hello, I’m reporting a very annoying bug.
I copy the edit page and name it

enter the list or view page and insert a button with a link to the new page just copied or created

Viewing the page, the system returns the error that can be seen in


.
This happens ONLY if I activate the management of roles and permissions, otherwise everything works regularly.

I will alert the dev about this.

Thanks, I’m waiting for the fix to give feedback