Here is my problem. I am building a react app with Spring Boot as the back-end. My application is used by many users including many roles.
I need to disable a specific component if it is already accessed by another user. A single user is allowed to edit the page with that component and it should be displayed as disabled for other users. We are using MongoDB and token-based authetication.
I heard that this can be achieved by Firestore, but I have no idea about it. May I know what will be the best solution to achieve this functionality? I appreciate your help to find a solution for this.