Hi,
I want to implement a location/ip based user creation. So I tell the use case:
1 - Admin can create a user-1 and assign an IP of user-1 system right, so when this user-1 login from their system it perfectly logged in, but when user-1 try to log in from another system (different IP) it shows error.
2 - Another user-2 from different system say location 2 upload a document and give the read write access to user-1 of location 1 location, then the write access to the document of user-2 must be flushed and transferred to user-1, to avoid concurrency conflict.
So my question is this how can I implement this, any guide will be appreciated.
I want to implement a location/ip based user creation. So I tell the use case:
1 - Admin can create a user-1 and assign an IP of user-1 system right, so when this user-1 login from their system it perfectly logged in, but when user-1 try to log in from another system (different IP) it shows error.
2 - Another user-2 from different system say location 2 upload a document and give the read write access to user-1 of location 1 location, then the write access to the document of user-2 must be flushed and transferred to user-1, to avoid concurrency conflict.
So my question is this how can I implement this, any guide will be appreciated.