mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 18:03:37 +02:00
Allow to specify a user by username or email with set-password commannd
This commit is contained in:
parent
c831d57614
commit
e6d9237bda
2 changed files with 4 additions and 7 deletions
|
@ -57,7 +57,7 @@ class UsersPermissionsCommand extends Command
|
|||
protected function configure(): void
|
||||
{
|
||||
$this
|
||||
->addArgument('user', InputArgument::REQUIRED, 'The username of the user to view')
|
||||
->addArgument('user', InputArgument::REQUIRED, 'The username or email of the user to view')
|
||||
->addOption('noInherit', null, InputOption::VALUE_NONE, 'Do not inherit permissions from groups')
|
||||
->addOption('edit', '', InputOption::VALUE_NONE, 'Edit the permissions of the user')
|
||||
;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue