Skip to content
Snippets Groups Projects
Commit 51b0e6d3 authored by cramakri's avatar cramakri
Browse files

LMS-2317 Fixed roles in the authentication annotation to support jython search service.

SVN: 21761
parent d863072a
No related branches found
No related tags found
No related merge requests found
...@@ -471,7 +471,7 @@ public interface IETLLIMSService extends IServer, ISessionProvider ...@@ -471,7 +471,7 @@ public interface IETLLIMSService extends IServer, ISessionProvider
*/ */
@Transactional(readOnly = true) @Transactional(readOnly = true)
@RolesAllowed(value = @RolesAllowed(value =
{ RoleWithHierarchy.SPACE_OBSERVER }) { RoleWithHierarchy.SPACE_OBSERVER, RoleWithHierarchy.SPACE_ETL_SERVER })
public List<Experiment> listExperiments( public List<Experiment> listExperiments(
String sessionToken, String sessionToken,
@AuthorizationGuard(guardClass = SpaceIdentifierPredicate.class) ProjectIdentifier projectIdentifier); @AuthorizationGuard(guardClass = SpaceIdentifierPredicate.class) ProjectIdentifier projectIdentifier);
......
...@@ -471,7 +471,7 @@ public interface IETLLIMSService extends IServer, ISessionProvider ...@@ -471,7 +471,7 @@ public interface IETLLIMSService extends IServer, ISessionProvider
*/ */
@Transactional(readOnly = true) @Transactional(readOnly = true)
@RolesAllowed(value = @RolesAllowed(value =
{ RoleWithHierarchy.SPACE_OBSERVER }) { RoleWithHierarchy.SPACE_OBSERVER, RoleWithHierarchy.SPACE_ETL_SERVER })
public List<Experiment> listExperiments( public List<Experiment> listExperiments(
String sessionToken, String sessionToken,
@AuthorizationGuard(guardClass = SpaceIdentifierPredicate.class) ProjectIdentifier projectIdentifier); @AuthorizationGuard(guardClass = SpaceIdentifierPredicate.class) ProjectIdentifier projectIdentifier);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment