Remove "customise this page" button from profile - Heeyoung-Ahn/Moodle GitHub Wiki
Had the same problem a few minutes ago, I was able to remove the customize button for a student by changing the preferences for students, guests, authenticated users and authenticated users on frontpage . There are 5 instances of blocks, mark them all Prevent.
- my:manageblocks
- tag:editblocks
- user:manageownblocks
- user:manageblocks
- site:manageblocks