Page 1 of 1

Premission for each user - data.

PostPosted:Thu Nov 27, 2008 5:34 am
by leela
Hi,

I have configured the repoistory presistence manager with Ms SQL server2005, and left file system local.

Now i would like to know where are the security premission for each user/group are stored for each folder/document.

Re:Premission for each user - data.

PostPosted:Thu Nov 27, 2008 1:11 pm
by pavila
I wonder why do you need info about internal data storage... Security is implemented as node properties.

Re:Premission for each user - data.

PostPosted:Tue Dec 02, 2008 1:57 pm
by leela
Hi,

I have a requirement where i need to maintain documents of multiple companies, documents of one company should not be viewed by other company members.

I am successful in creating separate repository for each company, but problem is when
a change the permission to a document make it Read/Write only by created user say user1 in company1.
Even user2 in company1 is able to view/ checkout/ modify the document.

When i check in the database the roles property is modified, and will displaying in security tab, only user i have given permission is displayed, but while calling getChilds() in OKMDocument.java all childs are fetched ibcluding one that dont have required premission.
Permission are working as excepted when there is single repository, but when i create multiple repository then its not working.

Could you let me know what might be the problem?

Re:Premission for each user - data.

PostPosted:Wed Dec 03, 2008 7:24 am
by leela
Attached is the modified DirectRepository.java class for your reference, for above problem. [file name=DirectRepositoryModule-9d14214081d08ca488e04e654d3978f2.txt size=25786]http://www.openkm.com/images/fbfiles/fi ... 3978f2.txt[/file]

Re:Premission for each user - data.

PostPosted:Tue Dec 09, 2008 12:09 pm
by pavila
OpenKM only can manage ONE repository so I don\'t understand how you can create separated repositories for each company.