Page 1 of 1

When role is assigned to folder, it is stored as user

PostPosted:Tue Apr 09, 2013 2:00 pm
by kubosj
Hi all,

I did freshly install OpenKM Community 6.2.3 (build: 7945) by openkm-6.2.3-community-linux-x64-installer.run. OS is CentOS 6. Then I connected it to LDAP, following http://wiki.openkm.com/index.php/Ldap-example1

Everything works, I can log in, I can see my LDAP roles and users. All users have correctly assigned roles. According to "Administration->Users". Until now it looked fine.

Then I wanted to assign roles/users to folder created in repository, here is initial state:
before.png
before.png (47.93 KiB) Viewed 4826 times
I wanted to add role (it does not depend on upper/lower case, both does not work):
change.png
change.png (62.2 KiB) Viewed 4826 times
As you see role was stored as user (!!!):
after.png
after.png (49.48 KiB) Viewed 4826 times
When trying to edit security again, role is listed in users tab. It can be removed in dialog, but that is not stored. So it is still visible in table.

Do you know what could cause such issue? Please let me know if I can provide more information.

Thank you in advance!

Re: When role is assigned to folder, it is stored as user

PostPosted:Tue Apr 09, 2013 3:07 pm
by blader18
Same problem here. User role always enable to see folders.

Re: When role is assigned to folder, it is stored as user

PostPosted:Wed Apr 10, 2013 9:11 am
by pavila
This problem is fixed in the night build from http://integration.openkm.com/6.2/

Re: When role is assigned to folder, it is stored as user

PostPosted:Wed Apr 10, 2013 12:11 pm
by kubosj
Hi,

Thank you for response. Nightly build fixed problem described above.

Re: When role is assigned to folder, it is stored as user

PostPosted:Wed Apr 10, 2013 1:34 pm
by blader18
What is the "night build"? How to fix the problem? :/

Re: When role is assigned to folder, it is stored as user

PostPosted:Wed Apr 10, 2013 1:49 pm
by kubosj
Just download OpenKM.war file from mentioned URL and deploy on your server.

For "Nightly build" definition see here: http://en.wikipedia.org/wiki/Neutral_build . In short: it is build based on source code which is under development. So such build is typically not extensively tested and therefore not recommended for production. If you want production ready build, you should wait for next release which will integrate this fix.

Re: When role is assigned to folder, it is stored as user

PostPosted:Fri Apr 12, 2013 1:39 pm
by blader18
If I use this night build will I be able to give one user access to one folder? I want user "A" to have access to a folder that user "B" doesn't have. Is this right?

If so, I just need to download OpenKM.war and replace it on webapps folder, and start tomcat again?

Thanks

Re: When role is assigned to folder, it is stored as user

PostPosted:Sat Apr 13, 2013 10:43 am
by pavila
Delete $TOMCAT_HOME/webapps/OpenKM folder before starting Tomcat again.