Page 1 of 1

Bug report Button

PostPosted:Tue Aug 18, 2009 10:16 am
by QStorm
Hello,

I have found some Bug is OpenKM 3 and I wanted to know how I can submit the Bugs to you?
I have triede the Bug Report Button but it\'s forwarfing me to http://www.openkm.com/index.php?option= ... &Itemid=36, but there I get this Error
Code: Select all
 Warning: SoapClient::SoapClient(http://oficina.git.es:82/mantis/api/soap/mantisconnect.php?wsdl) [function.SoapClient-SoapClient]: failed to open stream: Network is unreachable in /home/openkm/web/components/com_mantis/mantis.php on line 17

Warning: SoapClient::SoapClient() [function.SoapClient-SoapClient]: I/O warning : failed to load external entity \"http://oficina.git.es:82/mantis/api/soap/mantisconnect.php?wsdl\" in /home/openkm/web/components/com_mantis/mantis.php on line 17

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn\'t load from \'http://oficina.git.es:82/mantis/api/soap/mantisconnect.php?wsdl\' in /home/openkm/web/components/com_mantis/mantis.php:17 Stack trace: #0 /home/openkm/web/components/com_mantis/mantis.php(17): SoapClient->SoapClient(\'http://oficina....\') #1 /home/openkm/web/index.php(236): require_once(\'/home/openkm/we...\') #2 {main} thrown in /home/openkm/web/components/com_mantis/mantis.php on line 17 
Is there is an Other way to submit the bugs ?

THX

Q-Storm

Re:Bug report Button

PostPosted:Thu Aug 20, 2009 11:21 am
by jllort
If you want to report some bugs to us, you can use contact form.

Thanks for your support.

Re:Bug report Button

PostPosted:Thu Aug 20, 2009 12:18 pm
by QStorm
OK,

Thank you.
I just want to make sure that you Know about the Bug Buttun problem.


Q-Storm

Re:Bug report Button

PostPosted:Wed Sep 02, 2009 9:07 am
by QStorm
Hi jllort,

do you think about fixing the button or do you just want to leave it that way(dead Key).

Another Problem I found out:

Every User can change the permisson of everybody, e.g a normal user can take away the permission for the admin-user to read/write in a folder.
Is there any way to change that ?

Re:Bug report Button

PostPosted:Mon Sep 21, 2009 10:24 pm
by mlobo
yes, that is true, i had that problem, but if you think to use this appliance just to consult, so you only need to assign read permitions in folders and files. and when the folders are red the user can\'t change anything.

Re:Bug report Button

PostPosted:Tue Sep 22, 2009 12:16 pm
by QStorm
...but if you think to use this appliance just to consult, so you only need to assign read permitions in folders and files. and when the folders are red the user can\'t change anything.
Thats right but for Example:

The Useres are allowed to change the content, upload stuff, but they still don\'t have to assign rights.
Maybe only the admin can change permission or only Members of the adminRol.

Re:Bug report Button

PostPosted:Tue Sep 22, 2009 1:39 pm
by mlobo
Yes, but in this case the user can allow to change the content, upload stuff, assign privileges only if the AdminUser (AdminRol) assing write privileges to those user in those files and foldres, So the right way could be only AdminUser, but in some case you need to manage confidential information in the taxonomy that not all AdminRol can see.

Re:Bug report Button

PostPosted:Wed Sep 23, 2009 9:26 am
by jllort
After a great internal discussion about it we\'ve decided to create a separated grant for changing permissions not assigned directly to write permission as is now.

It\'ll be not present on version OpenKM 4.0 because is yet closed but we\'ll implement in next.

Re:Bug report Button

PostPosted:Thu Sep 24, 2009 9:30 am
by QStorm
That sounds good to me, tjat was what I was looking for

Re:Bug report Button

PostPosted:Thu Sep 24, 2009 10:59 am
by jllort
You must try something like this:

Modify class es.git.openkm.frontend.client.widget.properties.VersionScrollTable

Afer these lines
Code: Select all
/**
	 * Version
	 */
	public VersionScrollTable() {
		versions = new ArrayList();
		buttonView = new ArrayList();
		buttonRestore = new ArrayList();
		
		purge = new Button(Main.i18n(\"version.purge.document\"),this);
		purge.setStyleName(\"okm-Button\");
		purge.setEnabled(false);
Try adding
Code: Select all
if (Main.get().workspaceUserProperties.getUser().equals(\"admin\")) {
    purge.setVisible(true);
} else {
    purge.setVisible(false);
}
Hope it help you better