You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After enabling groups and roles. I created some users with standard roles. Then, I thought I needed completely different user role settings and deleted the ones I didn't need. Some of the users ended up with "irrelevant" roles.
After, I try to change the user on the /users//edit page. I can't do it, because of an error Call to a member function permissions() on null.
Steps to reproduce
Create a user with a role. Delete a role. Try to load the user listing.
Expected result
I expect that not having a remote role will not throw an error
Actual result
message 'Attempt to read property "name" on null' exception "ErrorException" file "src\\Http\\Controllers\\Admin\\UserController.php" line 143
Description
After enabling groups and roles. I created some users with standard roles. Then, I thought I needed completely different user role settings and deleted the ones I didn't need. Some of the users ended up with "irrelevant" roles.
After, I try to change the user on the /users//edit page. I can't do it, because of an error
Call to a member function permissions() on null
.Steps to reproduce
Create a user with a role. Delete a role. Try to load the user listing.
Expected result
I expect that not having a remote role will not throw an error
Actual result
message 'Attempt to read property "name" on null' exception "ErrorException" file "src\\Http\\Controllers\\Admin\\UserController.php" line 143
Versions
Twill version: 3.0.2
Laravel version: 9.52.15
PHP version: 8.1.9
Database engine: "PostgreSQL 14.5
The text was updated successfully, but these errors were encountered: