Addendum: I found the solution with the shortcodes. But I don’t want to overburden the editor of the page to work with shortcodes. Currently I use Divi Display Logic. With this it is possible to assign a CSS ID to the Divi module, which then controls the visibility for the user role. Is something similar possible with the User Role Editor?