How to restrict roles in M3 theme?

I wanted to to restrict one of my roles to M3 buttons. So I added the “Button” restriction to that role. However, now when I select an M3 button in the designer and open its properties tab, I cannot selct that role any more (it does not appear at all in the dropdown box). But when I remove the restriction from that role again, I can set it for that M3 button.

How can I restrict a role for an M3 component?

Hey @mfb,

I’m guessing you are using the new M3 Beta theme. In that case you would need to add the restriction to the role as:
m3._Components.Button

A little trick I use is to hover the question mark on the component
image

4 Likes

That did the trick.
Prefect, thanks!