rspace-os / rspace-web

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.
https://github.com/rspace-os/rspace-web/wiki
GNU Affero General Public License v3.0
12 stars 3 forks source link

[BUG] When sysadmin.delete.user is set to false, the delete button in the System page is NOT grayed out #46

Closed tuxRamon closed 1 month ago

tuxRamon commented 2 months ago

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.

rlamacraft commented 2 months ago

PR open #51