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

allow ezuser::currentuser() to log in users without sessions (ie log in user for current script only)

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 2011.10, 4.6.0
    • None

    Description

      It is useful in the context of cli scripts and REST calls to be able to log in a user without creating a session.
      At the end of the script, the user is logged out.
      We do not swamp the session db with one-shot sessions.

      It seems this is currently not supported by ezuser::currentuser(), because it checks in the session if the user has been set. Using a global var instead could do.

      Attachments

        Activity

          People

            unknown unknown
            72f8acac-185f-4a54-9470-a7473f50daab@accounts.ibexa.co Gaetano Giunta
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: