This the main repository for RSpace: rspace-web. Check https://github.com/rspace-os/rspace-web/blob/main/DevDocs/DeveloperNotes/GettingStarted/GettingStarted.md for setup instructions.
Describe the bug
Even though sysadmin.delete.user=false is set in deployment.properties, in the System page (once selecting a user and clicking the Actions button), the delete button for a user is clickable and not grayed out.
Furthermore, if the button is clicked, the page displays a green success message that the user has been deleted, when in fact the user has not been deleted.
Expected behavior
If sysadmin.delete.user=false in deployment.properties, the delete button should be grayed out, not allowing a user to click on the button.
Describe the bug Even though sysadmin.delete.user=false is set in deployment.properties, in the System page (once selecting a user and clicking the Actions button), the delete button for a user is clickable and not grayed out.
Furthermore, if the button is clicked, the page displays a green success message that the user has been deleted, when in fact the user has not been deleted.
Expected behavior If sysadmin.delete.user=false in deployment.properties, the delete button should be grayed out, not allowing a user to click on the button.