We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0c9df8 commit 52a9088Copy full SHA for 52a9088
src/main/groovy/com/marklogic/gradle/task/PreviewDeployTask.groovy
@@ -55,12 +55,6 @@ class PreviewDeployTask extends DeployAppTask {
55
for (Command c : simpleAppDeployer.getCommands()) {
56
if (c instanceof LoadSchemasCommand || c instanceof LoadModulesCommand) {
57
// Don't include these; no need to load schemas or modules during a preview
58
- }
59
- // Loading roles in two phases breaks the preview feature, so it's disabled
60
- else if (c instanceof DeployRolesCommand) {
61
- DeployRolesCommand deployRolesCommand = (DeployRolesCommand) c
62
- deployRolesCommand.setDeployRolesInTwoPhases(false)
63
- newCommands.add(c)
64
} else {
65
newCommands.add(c)
66
}
0 commit comments