-
Notifications
You must be signed in to change notification settings - Fork 144
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
PHP Version
8.2.14
CodeIgniter4 Version
4.4.4
Shield Version
dev
Which operating systems have you tested for this bug?
Windows, Linux
Which server did you use?
apache
Database
MariaDB 10.2
Did you customize Shield?
No
What happened?
While creating a new user from the cli, the php spark shield:user create command does not assign any group to the user (if not using the group option/parameter).
I think the command should assign a default group to the newly created user by using the following setting: config(\Config\AuthGroups::class)->defaultGroup in order to avoid possible permissions issues at the first login attempt.
Steps to Reproduce
php spark shield:user create
Username : bgeneto
Email : bgeneto@mail.com
Password : *******
Password confirmation : *******
User "bgeneto" createdExpected Output
A corresponding line in the auth_groups_users table using the default group from config(\Config\AuthGroups::class)->defaultGroup.
Anything else?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working