If log in to the designer, I’m not getting any roles. If I log in to the project with the same user I get my roles.
This was actually intentional. Usually the Designer/Gateway do not share the same authentication profile as the Project(s), so using the user’s roles that logged into the Designer would be misleading to provide to the client as it “runs” in preview mode. This caused lots of headaches in older versions, so we stopped having the project run its security features in the Designer. Use the client to test out security configuration.
Not sure I’m happy with this approach. I’ll have a talk with Travis tomorrow about options.