Problem/Motivation
The view "spam_list" page display is currently accessible to anonymous users.
This exposes spam entries publicly, which should not be possible. The spam list is an administrative tool and should only be accessible to users with proper permissions.
Steps to reproduce
- Enable the module.
- Visit the spam list page as an anonymous user.
- The page is accessible instead of returning 403 Access Denied.
Only users with the permission "administer nobotiq_spam_protection_status" should be able to access the spam list page.
Anonymous users must receive a 403 Access Denied response.
Proposed resolution
Restrict access to the page display of the "spam_list" view by setting:
Access type: Permission
Permission: administer nobotiq_spam_protection_status
This ensures the spam list is only accessible to administrators.
Issue fork nobotiq_spam_protection-3590640
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
voleger