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 #468 (new)

Opened 13 years ago

Roles should also take into account security annotations

Reported by: jamoore Owned by: jamoore
Priority: trivial Milestone: Unscheduled
Component: Security Version: 3.0-M3
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

r951 / #328 Note:

What the ome.system.Roles class does not do is unify with the @RolesAllowed annotations. There should be public static fields/methods to define these. E.g.:

	@RolesAllowed("user")
	public Experimenter getExperimenter(final Long id) {

should be

	@RolesAllowed(Roles.USER)
	public Experimenter getExperimenter(final Long id) {

Change History (0)

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.149496 sec.)

We're Hiring!