Entity Translation ctools access plugin checks against the translation status. When viewing an unpublished translation, the access rule, with 'Current content language' enabled, returns False, which results in the panel variant not being used.

I think this selection rule would return TRUE for both published and unpublished translations when appropriate given permissions to allow content authors to view unpublished translations as intended within the node variant. However, there maybe a use case for using two different variants for published and unpublished translations, which requires a configuration option.

Path forthcoming.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jasonawant created an issue. See original summary.

jasonawant’s picture

Version: 7.x-1.0-beta4 » 7.x-1.x-dev
Status: Active » Needs review
FileSize
3.2 KB

This patch provides a selection rule setting for translation status and performs necessary logic to grant/deny access depending on entity translation permissions.

jasonawant’s picture

The last submitted patch, 2: entity_translation-ctools-selection-rule-2656530-2.patch, failed testing.