-
Notifications
You must be signed in to change notification settings - Fork 182
Add script to delete kuser from Elastic #13513
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
base: Venus-22.1.0
Are you sure you want to change the base?
Conversation
|
@github-copilot suggest |
|
@github-copilot suggest |
|
@github-copilot suggest |
| if ($argc < 2) | ||
| { | ||
| echo UNIX_LINE_END . ' ---- Delete Kuser From Elastic ---- ' . UNIX_LINE_END; | ||
| echo ' Execute: php ' . $argv[0] . ' [ /path/to/kuser_id.log || kuserId_1,kuserId_2,kuserId_3,.. ] [realrun / dryrun]' . UNIX_LINE_END; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did it meant - path/to/userIdFile ?
How will the values be in the file? one ID per line or CSV?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- When using a file path (e.g., /path/to/kuser_id.log), the file should contain one Kuser ID per line.
- When providing IDs directly in the command, they should be passed as a comma-separated list
|
@github-copilot suggest |
Pull Request Checklist
Please complete the following before submitting:
General notes -
New Kaltura Types
New Kaltura Services / Actions
Questions
What is the purpose of this PR?
Does this change affect production code or infrastructure?
If yes, what is the rollback plan?