Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21611

unpublish cronjob uses anonymous credentials

    Details

      Description

      unpublish cronjob uses anonymous credentials, therefore it doesn't affect nodes in restricted areas of the site.

      steps to reproduce (in 4.x):

      . configure article class in content.ini|UnpublishSettings|ClassList
      . create an article and fill in unpublish_date field (to a date in the past)
      . set the node section to restricted
      . run "php runcronjobs.php" (unpublish.php will run)
      . verify that the object was not affected

      steps to reproduce (in 5.x):

      . configure a class to have a datetime field with unpublish_date as identifier
      . configure <your class> in content.ini|UnpublishSettings|ClassList
      . create an <your class> and fill in unpublish_date field (to a date in the past)
      . set the node section to restricted
      . run "php runcronjobs.php" (unpublish.php will run)
      . verify that the object was not affected

        Activity

        Joaquim Cavalleri (Inactive) created issue -
        Joaquim Cavalleri (Inactive) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Confirmed [ 10037 ]
        Gunnstein Lye made changes -
        Status Confirmed [ 10037 ] InputQ [ 10001 ]
        Gunnstein Lye made changes -
        Rank Ranked lower
        Joaquim Cavalleri (Inactive) made changes -
        Status InputQ [ 10001 ] Development [ 3 ]
        Assignee Joaquim Cavalleri [ joaquim.cavalleri@ez.no ]
        Joaquim Cavalleri (Inactive) made changes -
        Status Development [ 3 ] Development review [ 10006 ]
        André Rømcke made changes -
        Fix Version/s 5.2-rc1 [ 12781 ]
        André Rømcke made changes -
        Affects Version/s 5.2-dev [ 12300 ]
        Bertrand Dunogier made changes -
        Affects Version/s 5.0 [ 10300 ]
        Joaquim Cavalleri (Inactive) made changes -
        Status Development review [ 10006 ] Development Review done [ 10028 ]
        Affects Version/s 4.6.0 [ 11005 ]
        Affects Version/s 4.5.0 [ 11000 ]
        Fix Version/s 4.5 Maintenance [ 12585 ]
        Fix Version/s 4.6 Maintenance [ 12584 ]
        Fix Version/s 4.7 Maintenance [ 12583 ]
        Fix Version/s 5.0 Maintenance [ 11287 ]
        Fix Version/s 5.1 Maintenance [ 12301 ]
        Joaquim Cavalleri (Inactive) made changes -
        Status Development Review done [ 10028 ] Documentation done [ 10011 ]
        Joao Pingo (Inactive) made changes -
        Status Documentation done [ 10011 ] QA [ 10008 ]
        Assignee Joaquim Cavalleri [ joaquim.cavalleri@ez.no ] Joao Pingo [ joao.pingo@ez.no ]
        Joao Pingo (Inactive) made changes -
        Rank Ranked higher
        Joao Pingo (Inactive) made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 1 hour [ 3600 ]
        Worklog Id 40444 [ 40444 ]
        Joao Pingo (Inactive) made changes -
        Assignee Joao Pingo [ joao.pingo@ez.no ]
        Status QA [ 10008 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Joao Pingo (Inactive) made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Joao Pingo (Inactive) made changes -
        Time Spent 1 hour [ 3600 ] 2 hours, 30 minutes [ 9000 ]
        Worklog Id 40484 [ 40484 ]
        Joao Pingo (Inactive) made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 59098 ] EZ* Development Workflow [ 84269 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 84269 ] EZEE Development Workflow [ 122915 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Joaquim Cavalleri (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 hours, 30 minutes
              2h 30m