Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #8118 (accepted)

Opened 12 years ago

Last modified 12 years ago

share conection refactoring — at Version 4

Reported by: atarkowska Owned by: jmoore
Priority: critical Milestone: OMERO-4.4
Component: Web Version: n.a.
Keywords: n.a. Cc: jamoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 1.0d
Sprint: 2012-02-28 (9)

Description (last modified by atarkowska)

Due to the new changes handled by decorator there is a need to rewrite share activation.
Right now there is no way to create new omero session without knowing user password. I also couldn't join share to use it as an omero session.

 File "/Users/ola/Dev/omero/components/tools/OmeroWeb/omeroweb/../omeroweb/decorators.py", line 68, in get_share_connection
    sf = cl.joinSession(sh.uuid)
 File "/Users/ola/Dev/omero/dist/lib/python/omero/clients.py", line 409, in joinSession
   return self.createSession(session, session)
 File "/Users/ola/Dev/omero/dist/lib/python/omero/clients.py", line 463, in createSession
   prx = self.getRouter(self.__ic).createSession(username, password, ctx)
 File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/Glacier2_Router_ice.py", line 107, in createSession
   return _M_Glacier2.Router._op_createSession.invoke(self, ((userId, password), _ctx))
PermissionDeniedException: exception ::Glacier2::PermissionDeniedException
{
   reason = Password check failed for '9c9f9fc9-743f-43c6-aaac-a90c639c5259': [user=my_user_name, created=2012-02-23 09:39:26.216, closed=2012-02-23 09:50:07.155248]
}

We need to have a way either to access shared data as a member directly using existing omero session or to activate connection while joining omero session specified by share uuid.

Change History (4)

comment:1 Changed 12 years ago by atarkowska

  • Status changed from new to accepted

comment:2 Changed 12 years ago by atarkowska

  • Cc cxallan added
  • Component changed from General to Web
  • Priority changed from minor to critical

comment:3 Changed 12 years ago by atarkowska

  • Description modified (diff)
  • Owner changed from atarkowska to jmoore

comment:4 Changed 12 years ago by atarkowska

  • Description modified (diff)
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.71140 sec.)

We're Hiring!