-
Type: Task
-
Status: Needs Review
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 5.2.2
-
Component/s: Data Management
-
Labels:None
-
Change Log Group:Changed
-
Change Log Message:Non-human activities are now recorded as "system" user instead of "root" user.
-
Story Points:1
-
Copy Issue Key:
-
Patch Instructions:
- define "USER_SYSTEM" constant with "-3" value after "USER_ROOT" constant (file "core/kernel/startup.php")
- in the following places use "USER_SYSTEM" the same way as "USER_ROOT":
-
- \kApplication::permissionCheckingDisabled
-
- lists of user field options
- SQLs to resolve user ID from the database into it's name
- in the following places use "USER_SYSTEM" instead of "USER_ROOT":
-
- \kScheduledTaskManager::runAll
-
- tools/run_event.php