• Assigning Of Roles

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #23230  by venkuforeverin
 
Hi,

We are using OpenKM 6.2.3.While changing the roles at document level i am facing some issues.If i try to remove One role, it is not removing and also added in user side with the permission of write,delete and security.

ex:-
If i create one folder in root and assign below mentioned roles.
purchase
production
hr
logistics
then i create a document in that folder.system automatically assign all roles to the newly added document.Now i want to remove one role(hr) for the document.but it is not removing.

Attachment added for your reference.
Attachments
error.gif
error.gif (15.01 KiB) Viewed 5012 times
 #23549  by venkuforeverin
 
Hi,

We are not able to migrate from 6.2.3 to 6.2.4.
after entering login details, system shows the error and hanged.
Please help us to resolve the issue(Assigning Of Roles).

When can we expect then official realise of OpenKM 6.2.4 version.

Regards
Venkat
 #23561  by jllort
 
Which error ?
 #23573  by doozy
 
Hi,

Think I am experiencing the same error with TS.
On folder/node, if I change security rights for say user A with recursive rights, removing all rights of read, write, delete and security.
User A is still able to access the folder and files. So, this may be the error and version 6.2.4 is the update to it.

I follow migration instruction. Can anyone tell me if I am doing correctly - step by step.

Make a backup!!! (i zip the whole openkm directory)
Stop Tomcat (easy)
Edit OpenKM.cfg and set hibernate.hbm2ddl to update (edited)
Replace the OpenKM.war (downloaded, delete old one, rename downloaded file openkm.zip to openkm.war
Run from your preferred SQL client these queries:
DROP TABLE OKM_OMR; (i am using default database, did not do anything to this step. don't know how to execute a query also
Start Tomcat again (started with ease)
Go to Administration > Database Query, and remove obsolete configuration properties: (copy and paste into query, select JDBC type and click SEND
DELETE FROM OKM_CONFIG WHERE CFG_KEY='kea.model.file';
DELETE FROM OKM_CONFIG WHERE CFG_KEY='kea.stopwords.file';
DELETE FROM OKM_CONFIG WHERE CFG_KEY='kea.automatic.keyword.extraction.number';
DELETE FROM OKM_CONFIG WHERE CFG_KEY='kea.automatic.keyword.extraction.restriction';
Enjoy OpenKM 6.2.4! (problem now is before I restart, do i need to change hibernate.hbm2ddl back to NONE? anyway, did not change and restarted. checked openkm version is still stating 6.2.3. delete the folders as listed below after i have stop tomcat. restart but now there is user error after the rebuild. )
If you have any weird problem try to stop Tomcat, delete these folders:
$TOMCAT_HOME/webapps/OpenKM
$TOMCAT_HOME/work/Catalina/localhost
And start Tomcat again.


Can anyone help? Thank you
 #23621  by jllort
 
Before start, hibernate.hbmdll value should be set to update. Automatically openkm will set to none.
 #23689  by venkuforeverin
 
Hi,
Thanks for your support.

Steps I did.
---------------------------
1.Backup taken.
2.Replaced New OpenKM.war file.
3.Config file Status Changed as Update.
4.Restarted tomcat.
5.Deleted the queries (Suggested by OpenKM)

When I login in to OpenKM, version shows the previous version only(OpenKM 6.2.3).
Then I deleted the OpenKM folder and Localhost folder in my server.
From that point onwards I am not able to login to the OpenKM.

Log for your Ref
---------------------
2013-06-24 12:45:31,223 [Thread-13] INFO org.apache.pdfbox.pdmodel.graphics.col or.PDSeparation - About to create ColorModel for DeviceCMYK{ }
2013-06-24 12:45:31,296 [Thread-13] WARN com.openkm.extractor.CuneiformTextExtr actor - Undefined OCR application


Regards
venkat
 #23751  by venkuforeverin
 
Hi,

Thanks for your support.

It is working fine in newer version.
Now I can Assign and remove the roles to the document.

Regards
venkat

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.