Change password 403 forbidden

When activating the roles and permissions, no user can change their password, including the administrator user

I am using:

  • radsystem 8.1.8
  • Php Laravel
  • Bootstrap JQuery
  • Php 7.4.33


Make sure you have given that user permission to edit his or her account.

it has all permission @willvin

inside the web.php, bellow this line
Route::middleware([‘auth’, ‘rbac’])->group(function () {

remove
" Route::post(‘account/changepassword’, ‘AccountController@changepassword’)->name(‘account.changepassword’);"
and paste it at the top…

1 Like

I already have the work around this issue since this is a compilation bug

Work Around Solution:
1.After activating the roles and permissions
2.Go to your database and find the table name “Permissions”
3. Add/Insert another records on the table and input the following values:
→ for “permission” column name the value is “account/changepassword”
→ for “role_id” column name the value is base on the value of role id of the user

It will look like this in my case
image