Closed gioacchinopoletto closed 1 year ago
I have made some test and:
public $role
on top of RoleEditScreen.php
;$role
returned to layout is an empty array, but the record on Roles table is present;RoleEditScreen.php
I don't see the DELETE button for role, because the role don't exist for the app;platform.php
but all remain the same;any suggestions about this?
Hi, looked in the actual project what changes were made in the update
// Platform > System > Roles > Role
- Route::screen('roles/{roles}/edit', RoleEditScreen::class)
- ->name('platform.systems.roles.edit');
+ Route::screen('roles/{role}/edit', RoleEditScreen::class)
+ ->name('platform.systems.roles.edit');
This is due to the fact that the dependency and route resolver now relies on the same principle as in Laravel when using a controller.
Has this change worked for you?
Many thanks @tabuna, I don't have see this! Work perfectly!
PS: we can add a note to upgrade documentation?
Describe the bug After upgrading to version 14 I have problems with system roles:
despite this:
To Reproduce Steps to reproduce the behavior:
Expected behavior Correctly display the data present in the database for the roles and be able to modify them since the user used has permissions in the database. I tried a fresh install of Orchid and the screens work fine, for this reason I don't think that this bug depends on System or Browser.