3361cac59a
Since version 2.7.x CLI actions load all enabled modules automatically. This includes launching configuration.php and run.php. Though code in those files should be restricted to a supported set of functions, module devs may write any code here. If a module requires authentication in those files, CLI actions fail because there is no auth possible. With this patch, we setup a fake user named "cli" w/o any permission when running CLI actions. |
||
---|---|---|
.. | ||
Application | ||
Authentication | ||
Chart | ||
Cli | ||
Data | ||
Date | ||
Exception | ||
File | ||
Legacy | ||
Protocol | ||
Repository | ||
Security | ||
Test | ||
User | ||
Util | ||
Web | ||
User.php |