Ticket #1324 (closed enhancement: fixed)

Opened 7 years ago

Last modified 7 years ago

Add authentication to CLI request

Reported by: mwattier Assigned to: mwattier
Priority: normal Milestone: 0.6.2
Component: SGL - Manager Severity: patch applied
Keywords: cli,authentication Cc: demian


When using CLI mode, the module's config.ini:requireAuth must be set to false. This is a tad bit of a bother. If a module has both a protected interface and a CLI script, how does one reconcile this?


manager_cli.diff (0.5 kB) - added by openhaus on 02/20/07 09:07:54.

Change History

02/20/07 08:39:46 changed by openhaus


I would be interested in a solution for this as well. I have the same problem with actions being available through a web-interface which should be protected and the need to call these actions from the command line in cron jobs.


02/20/07 09:07:54 changed by openhaus

  • attachment manager_cli.diff added.


02/20/07 09:11:11 changed by openhaus

  • cc set to demian.
  • component changed from SGL - Request to SGL - Manager.
  • severity changed from need feedback to patch applied.
  • milestone set to 0.6.2.


I attached a patch for the suggestion made by Demian in http://marc.theaimsgroup.com/?l=seagull-general&m=116073491803186&w=2 which solves the problem described in this ticket.

03/21/07 13:00:14 changed by demian

  • status changed from new to closed.
  • resolution set to fixed.

nice one dude - thanks