Skip to content

security: add missing authorization checks to AJAX endpoints and module actions#724

Open
anonymoususer72041 wants to merge 1 commit intoopencats:masterfrom
anonymoususer72041:fix/authorize-ajax-and-module-actions
Open

security: add missing authorization checks to AJAX endpoints and module actions#724
anonymoususer72041 wants to merge 1 commit intoopencats:masterfrom
anonymoususer72041:fix/authorize-ajax-and-module-actions

Conversation

@anonymoususer72041
Copy link
Contributor

This PR addresses #720 by adding missing server-side authorization checks to several AJAX endpoints and module actions that previously relied on authentication without enforcing the required permissions.

The changes are intentionally minimal and stay close to the existing authorization patterns already used in the codebase. The goal is to prevent authenticated but unauthorized users from performing sensitive actions while preserving the behavior for properly authorized users.

The affected areas include activity-related AJAX actions, email settings test execution, saved list AJAX actions, import revert, report-related actions and calendar event edit/delete handling.

In the calendar module, the changes also prevent regular users from editing or deleting events they do not own.

@anonymoususer72041 anonymoususer72041 added the security Pull requests that address a security vulnerability label Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security Pull requests that address a security vulnerability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant