I don’t understand how it’s not working. Maybe I’m confused. I added your code which added a post type and 2 user types. I went in as admin and creates some field groups and added them to your post type. Then I logged into one of the users to edit a post and the acf fields were working on that fields.
Are you talking about allowing these users to edit the ACF field groups?