Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added bypass for insert / delete for machines #2172

Merged
merged 4 commits into from
May 6, 2021
Merged

Conversation

felipeelia
Copy link
Member

This is a "take over" of #1968, just to address some small things.

Description of the Change

Allows indexing / deletion while in cron / WP CLI.

Props @nickdaugherty
cc: @rinatkhaziev @pschoffer @netsuso @parkcityj

Alternate Designs

N/A

Benefits

Allows indexing / deletion while in cron / WP CLI.

Possible Drawbacks

Allows indexing / deletion while in cron / WP CLI.

Verification Process

We needed a way to do indexing / deletion while in cron / WP CLI. After this change, it worked.

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests passed.

Applicable Issues

Closes #1968 .

Changelog Entry

Added permission check bypass for indexing / deleting for cron and WP CLI. Props @nickdaugherty

@felipeelia felipeelia added this to the 3.6.0 milestone Apr 15, 2021
@felipeelia felipeelia self-assigned this Apr 15, 2021
@felipeelia
Copy link
Member Author

@oscarssanchez do you mind giving a look at this? You've already worked in this part of the code, so probably you'll have some additional context to it. Thanks in advance!

@felipeelia
Copy link
Member Author

@oscarssanchez can you please give it another look? Thanks!

Copy link
Contributor

@oscarssanchez oscarssanchez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@brandwaffle brandwaffle merged commit ca43b23 into develop May 6, 2021
@brandwaffle brandwaffle deleted the feature/pr-1968 branch May 6, 2021 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants