• Location / IP based User creation and access.

  • He we will discuss about how to make customization and improvement to the OpenKM source code.
He we will discuss about how to make customization and improvement to the OpenKM source code.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #54681  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.
 #54699  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 ).

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.