Thanks Paul, my PHP Storm is showing I was using 6.5.13. When trying to re create the issue I clicked on the:
ACP wheel => Users => Profile Browser
Then on the list of profiles I clicked the delete button to the right and it completely removed the only master admin user account associated with the extra profile I was deleting.
To re create the problem..I have re installed Jamroom 6.5.13 and signed up with an admin account and created 2 extra profiles associated with the admin account.
I have added music to them and deleted one of these new extra profiles using the delete button located on the "profile browser" page and YES it did in fact remove the only admin user account on the system rendering the Jamroom system forever inoperable with no admin.
The other profiles were left active but the master admin user account was deleted from the system when removing one of the extra profiles.
My opinion is that this is a critical bug in that it does not function properly for Jamroom interoperability.
It should self-check so that "the only" in most cases... master admin user account can not be deleted or removed locking themselves out because of deleting an extra profile linked to the user.
The Jamroom admin should be asked if they want to remove user with the delete profile action.
Jamroom systems allow multiple profiles under users so naturally it should allow profiles to be deleted with or without removing the user.
Currently the Jamroom profile delete action was set up with a warning label which pops up saying to proceed with profile delete action your user account associated will be deleted....
which we found out can render all the other associated profiles and the entire Jamroom administration system dead and inactive if its deleting the only connected master admin account..
put checks and balances in place to make sure there is always a master admin account and
Replace the warning question with:
=> Do you wish to also delete the user account associated with this profile?
That I believe would be the correct right best way to do that.
Merry Christmas 2 All You Guys!!!
Glad to help
updated by @developer-networks: 12/18/22 01:00:52AM