• Editing the db query when getting list of users in Security

  • 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.
 #28176  by yv_
 
Hello,

I have been looking for days on how to separate the list of users you can give permission to so a USER role will only see a list of users from their own team. This will prevent the said user(an admin for one team maybe) from seeing other users in a different department. What I have in mind now is going to developer mode, making a new tab, and hiding the main Security tab from users and then copying the source code for the main tab but with a different database query. Is this possible?

Sorry I havent gotten to installing the necessary tools as I'm waiting for the go signal from my admin.

Thanks
 #28192  by jllort
 
It's possible create new tab etc...

Here you got information about how configure IDE: http://wiki.openkm.com/index.php/Developer_Guide
Here about how extending tab http://wiki.openkm.com/index.php/Extension_Guide ( frontend extension )

For what I understand you want to use roles list from other table. You do not want to use OKM_ROLE table ? confirm to us. If it's the case there some other modifications you should consider. I would like understand better your problem ( some sample about logic you got ind mind will be great , in order to imagine it ).

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.