Hide or show sections or fields in the panel depending on user role

Hey.
It’s seems like its a already asked question on the panel but I cannot find anything that fits my needs.
I’m trying to hide specific parts of a page or disable it based on the roles of my panel.

sections: fields: type: fields fields: name: label: Name type: text email: # should be visible only for the role admin label: Mail type: email
Something like that for example.
Is there something I can do, scalable, about this?
Thanks!

Yes, if you use php blueprints, you can define which parts should be viewable by role, see PHP-based blueprints | Kirby CMS

Thanks!