haifxu opened a new pull request, #6206:
URL: https://github.com/apache/inlong/pull/6206
### Prepare a Pull Request
- Fixes #5049
### Motivation
Command tools add CRUD for user.
### Modifications
1. Support get `UserTypeEnum.code` by `UserTypeEnum.name` in `UserTypeEnum`
2. Add CRUD for user.
### Verifying this change
1.managerctl list user
```
user Get user summary information
Usage: user [options]
Options:
--type
user type
-u, --username
username
```
2.managerctl describe user
```
user Get user details
Usage: user [options]
Options:
* -id, --id
user id
```
3.managerctl create user
```
user Create user
Usage: user [options]
Options:
-d, --days
valid days
-p, --password
password
-t, --type
account type
-u, --username
username
```
4.managerctl update user
```
user Update User
Usage: user [options]
Options:
-d, --days
new valid days
-u, --username
username to be modify
```
5.managerctl delete user
```
user Delete user by user id
Usage: user [options]
Options:
* -id, --id
user id
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]