Sitecore / Sitecore-Configuration-Roles

30 stars 9 forks source link

CM+Processing+Reporting role cannot open Preview or Experience Editor #18

Open chenhendrawan opened 7 years ago

chenhendrawan commented 7 years ago

We enabled the CM+Processing+Reporting role which is a common scenario for a content authoring environment. It turns out that the processing / reporting role overrides the ability for the CM to be able to access the web database and the "website" site.

Is this an expected behavior? We expect that being a processing or reporting role shouldn't affect the ability to have the website up.

AlenPelin commented 7 years ago

Mixing roles is not supported at the moment.

AlenPelin commented 7 years ago

When you choose CM, it expects to have separate Processing and separate Reporting role.

chenhendrawan commented 7 years ago

Hey, thanks for responding but I think I don't quite understand your comment.

The documentation said that mixing roles is indeed supported. There are examples in the doc to enable <add key="role:define" value="ContentManagement|Processing|CustomFeature1" />, and it was only the ContentDelivery role that has this comment

Defines Content Delivery (CD) role that assumes current Sitecore instance is accessed only by end-users and Sitecore administrators. It cannot be enabled on the same instance with other roles.

So is that the documentation was too far ahead of the current implementation?

AlenPelin commented 7 years ago

Sorry for confusing you. Mixing roles is supported by the configuration engine, but Sitecore 8.1.3 - 8.2.4 configuration files here do not support mixing CM, Processing and Reporting. You can however still use Standalone which is almost what you want.

It is described in SIM QA: image

AlenPelin commented 7 years ago

You can refer to official documentation to adjust configuration files to make it supported - i just didn't have enough time to do that.