Port views access batch to new plugin mechanism

Created on 19 February 2024, 10 months ago
Updated 22 March 2024, 9 months ago

Problem/Motivation

In πŸ“Œ Move batch functionality into check plugin Fixed we've made it possible for a plugin to run in batches, removing the need to create a separate batch process for plugins that need long scan processes. However, the views access still uses the old mechanism. This should be updated.

Proposed resolution

Replace the logic in include_batches/views_access.batch.inc with code in the run() method of Plugin/SecurityCheck/ViewsAccess.php. Refer to Plugin/SecurityCheck/NamePasswords.php for an example. You may refer to the merge request for πŸ“Œ Move batch functionality into check plugin Fixed to see how the old implementation was converted to the plugin version.

Remaining tasks

  • Do the port
  • Create merge request
  • Review
  • Merge

User interface changes

The views access scan will take place in the main batch progress instead of in a second one after the main one has finished.

API changes

None.

Data model changes

None.

πŸ“Œ Task
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands eelkeblok Netherlands πŸ‡³πŸ‡±

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024