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

        Joao Pingo (Inactive) logged work - 27/Sep/13 7:02 PM
        • Time Spent:
          1 hour
           

          Testing

        Joao Pingo (Inactive) logged work - 30/Sep/13 1:01 PM
        • Time Spent:
          1 hour, 30 minutes
           

          Tested and closed

          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