You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BaseObject::loadAll() applies no permissions (only CProject overrides it), so tasks that are denied to the user at item level still appear on the project's Inactive Tasks tab, unlike the active task list. $project_id (a global) is also concatenated into the WHERE clause.
Fix: build the list with CTask::getAllowedRecords()/setAllowedSQL() for the current user, and cast $project_id to int.
Found by reading the code on dev-5.0.0 @ 179b4eaf; not yet reproduced on a running install.
Activity
Inactive tasks tab: filter by project and task permissions in SQL