The following exception is thrown when attempting to delete a working interface that is allocated to me:
14:49:33.332 DEBUG [qtp523691575-43] o.o.t.r.i.s.m.m.ManageInterfacePanel - Failed to delete interface [1:
{00010000}] - org.opendof.tools.repository.interfaces.da.InsufficentRightsException: You must be the owner of the working interface: [1:{00010000}] to delete it
org.opendof.tools.repository.interfaces.da.InsufficentRightsException: You must be the owner of the working interface: [1:
] to delete it
at org.opendof.tools.repository.interfaces.opendof.OpendofController.deleteInterface(OpendofController.java:374)
at org.opendof.tools.repository.interfaces.core.CoreController.deleteInterface(CoreController.java:265)
at org.opendof.tools.repository.interfaces.servlet.menu.manage.ManageInterfacePanel$DeleteConfirmationHandler.onConfirm(ManageInterfacePanel.java:411)
at org.opendof.tools.repository.interfaces.servlet.menu.ConfirmPanel$1.onClick(ConfirmPanel.java:32)
OpendofController.deleteInterface has the following comparison:
if (!user.email.equals(idata.accessGroup.email))
throw new InsufficentRightsException("You must be the owner of the working interface: " + iid + " to delete it");
Should it be comparing user.email to idata.submitter.email instead?