Hide content based on role

I have different roles for my users, who are able to update their profile on the frontend. However i want different roles to be able to update different fields.

How do i go about showing/hiding fields by role?

Thank you

On the frontend, you have full control over what you show based on role using if statements.

if ( ( $user = $kirby->user() ) && $user->role()->name() === 'client' ) {
  // do stuff

Perfect thank you