Restriction/disabling certain settings

Is there a way to display let’s say the advanced-tab in the page settings for either all or only certain users. How would I approach having an access rule for this? How would I approach removing the tab completely?

This is not supported right now. We’d need to put access control in the tabs. There’s an issue already

Couldn’t we simply modify the forms? - are there yaml files with the corresponding fields? Or this PHP source?