Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
indent1rem
stylesquare

Warning
titleIf you have v2.3 or lower installed, consider upgrading to the current version of NMS Prime.

There were some changes in the Authentication and Authorization system. Please look into the Upgrade Guide v2.4 for more Information

...

Warning
titleTroubleshooting Authentification


Expand
titleIf you get "No Permission" Errors or can't access the "Global User Settings" or "User Role" setting
Please log out and log in again. If the error persists, log out and do the command again.


Expand
titleIf you forgot your password

Please execute the following commands from the command line inside the NMS Prime directory:


Code Block
languagebash
themeRDark
firstline1
titleMake an existing User Admin
php artisan auth:nms
php artisan auth:admin [ your login name ]
php artisan tinker


This will open a new command line (Psy Shell), enter there

Code Block
languagephp
themeRDark
firstline1
titleMake an existing User Admin
$user = App\User::where('login_name','[your login name]')->first();
$user->password = Hash::make('[your new password]');
$user->save();
quit

close the shell with Ctrl ctrl + c


Expand
titleIf you promoted the wrong user...
Unfortunately, you have to go into the GUI to resolve this. Make sure to remove the admin role from that user and assign the desired roles.


...