just user role id is not enough because of assignment limitations.
see legacy for what is used there: https://github.com/ezsystems/ezdemo/blob/master/packages/ezdemo_extension/ezextension/ezdemo/design/ezdemo/templates/pagelayout.tpl#L7