Skip to content

Cachet 3.x: php artisan cachet:make:user - does not grant admin rights #4530

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

Closed
nicotillmann opened this issue Apr 4, 2025 · 1 comment
Closed

Comments

@nicotillmann
Copy link

Hi James,

creating User on the cli works fine, but the choise "is the user an Admin" is ignored:

php artisan cachet:make:user

┌ What is the user's name?
│ dummy02
└───────────

┌ What is the user's email?
[email protected]
└────────────

┌ Is the user an admin?
│ Yes
└──────────

┌ What is the user's password?
│ •••••••
└──────────────

INFO User created successfully.

root@vm01:/var/www/servers/status.hfg.de/cachet# mysql -e "select * from status_hfg_de.users where id =6 \G"
*************************** 1. row ***************************
id: 6
name: dummy02
email: [email protected]
email_verified_at: NULL
password: $2y$12$psqwUen7p7TN4sqFAfhRAegujWn2n9JVNSC80EbMoQ9FGO13WSmge
remember_token: NULL
created_at: 2025-04-04 09:48:35
updated_at: 2025-04-04 09:48:35
is_admin: 0
preferred_locale: en

I think it's not urgent, beause setting is_admin=1 on Mysql CLI works (at least for me)

@jbrooksuk
Copy link
Member

This should be fixed by cachethq/core#268

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants