Page 1 of 1

Editing the db query when getting list of users in Security

PostPosted:Mon Mar 24, 2014 3:26 am
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

Re: Editing the db query when getting list of users in Secur

PostPosted:Wed Mar 26, 2014 10:49 am
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 ).