Task #468 (new)
Opened 18 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
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) {
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.