Role permissions and section templates

I made a Div with a condition Role = X on my Dev site.
I exported the TCO of that section
I imported that TCO into the live site
I inserted that Section into a page
I looked at the Div, the right hand side of the condition was missing the role name ‘X’

The role name ‘X’ is the same on both sites, but I noticed they have different slugs.

Is there some way to make this work so I don’t have to redo every page with a role based permission between Dev and Live?

Thanks, Bill.

Hi Bill,

Thanks for reaching out.

When you import a template , it includes the correct conditions and assignments , as long as the required condition values exist on the destination site. In your case, the issue appears to be caused by the different slug, and unfortunately, there isn’t a built-in way to handle this situation automatically.

Thanks

Thanks - I tested that theory by adding a new role with the matching slug and the section picked it up. Something to remember for the future. Bill.

Hi Bill,

Glad that we are able to help you.

Thanks