Page 1 of 1

Location / IP based User creation and access.

PostPosted:Mon Apr 29, 2024 8:12 am
by Mehra0019
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.

Re: Location / IP based User creation and access.

PostPosted:Mon May 13, 2024 7:15 am
by jllort
* probably can be done but is a very rare logic -> should intercept the user just after login and apply all the changes authentication object or replace with a new one -> but maybe the best should be to create a new authentication provider -> this is not trivial. In what will be the new OpenKM CE version will be easiest than in the current one ( because upgraded libraries what does it to be implemented in a better manner -> currently we are working in a major release what expect to share before the end of the year ).