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 #4059 (closed)

Opened 9 years ago

Closed 9 years ago

Bug: cli should check for admin on user add

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: OMERO-Beta4.3
Component: Client Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-02-10 (5)

Description

...rather than throwing this exception:

$ bin/omero user add josh Josh Moore ome
...
	at ome.services.throttling.Callback.run(Callback.java:56)
	at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56)
	at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:136)
	at ome.services.blitz.impl.AdminI.createExperimenter_async(AdminI.java:172)
	at omero.api._IAdminTie.createExperimenter_async(_IAdminTie.java:148)
	at omero.api._IAdminDisp.___createExperimenter(_IAdminDisp.java:874)
	at omero.api._IAdminDisp.__dispatch(_IAdminDisp.java:1523)
	at IceInternal.Incoming.invoke(Incoming.java:159)
	at Ice.ConnectionI.invokeAll(ConnectionI.java:2037)
	at Ice.ConnectionI.message(ConnectionI.java:972)
	at IceInternal.ThreadPool.run(ThreadPool.java:577)
	at IceInternal.ThreadPool.access$100(ThreadPool.java:12)
	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:971)

    serverExceptionClass = ome.conditions.SecurityViolation
    message = Current user is neither admin nor group-leader for the given user(s)/group(s)
}

Change History (4)

comment:1 Changed 9 years ago by jmoore

  • Status changed from new to assigned

comment:2 Changed 9 years ago by Josh Moore <josh@…>

(In [69d8253842843616b73205e8ac80f5261c460a93/ome.git]) Handling SecurityViolation on omero user add (See #4059)

comment:3 Changed 9 years ago by Josh Moore <josh@…>

(In [986714b8a878b517a223820669a3bf51c3b60519/ome.git]) Handling SecurityViolation on omero user add (See #4059)

comment:4 Changed 9 years ago by jmoore

  • Remaining Time changed from 0.1 to 0
  • Resolution set to fixed
  • Status changed from assigned to closed
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.78904 sec.)

We're Hiring!