Every SFTP user should have at least one path in the permissions but this was not enforced with a check. Now it's enforced with a check and an error is displayed if attempting to delete the last permission of the user.