Skip to content
Snippets Groups Projects
Commit ea5240a7 authored by felmer's avatar felmer
Browse files

LMS-1897 database modification annotation corrected

SVN: 18927
parent 9832ee1f
No related branches found
No related tags found
No related merge requests found
...@@ -181,7 +181,7 @@ public interface IGenericServer extends IServer ...@@ -181,7 +181,7 @@ public interface IGenericServer extends IServer
*/ */
@Transactional @Transactional
@RolesAllowed(RoleWithHierarchy.SPACE_USER) @RolesAllowed(RoleWithHierarchy.SPACE_USER)
@DatabaseCreateOrDeleteModification(value = ObjectKind.EXPERIMENT) @DatabaseUpdateModification(value = ObjectKind.EXPERIMENT)
public void updateExperiments( public void updateExperiments(
String sessionToken, String sessionToken,
@AuthorizationGuard(guardClass = UpdatedExperimentsWithTypePredicate.class) final UpdatedExperimentsWithType experiments) @AuthorizationGuard(guardClass = UpdatedExperimentsWithTypePredicate.class) final UpdatedExperimentsWithType experiments)
......
...@@ -181,7 +181,7 @@ public interface IGenericServer extends IServer ...@@ -181,7 +181,7 @@ public interface IGenericServer extends IServer
*/ */
@Transactional @Transactional
@RolesAllowed(RoleWithHierarchy.SPACE_USER) @RolesAllowed(RoleWithHierarchy.SPACE_USER)
@DatabaseCreateOrDeleteModification(value = ObjectKind.EXPERIMENT) @DatabaseUpdateModification(value = ObjectKind.EXPERIMENT)
public void updateExperiments( public void updateExperiments(
String sessionToken, String sessionToken,
@AuthorizationGuard(guardClass = UpdatedExperimentsWithTypePredicate.class) final UpdatedExperimentsWithType experiments) @AuthorizationGuard(guardClass = UpdatedExperimentsWithTypePredicate.class) final UpdatedExperimentsWithType experiments)
......
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