Skip to content
Snippets Groups Projects
Commit 6065a6f4 authored by brinn's avatar brinn
Browse files

change: allow SPACE_POWER_USER to archive data sets

SVN: 22831
parent 490eeaef
No related branches found
No related tags found
No related merge requests found
...@@ -1158,7 +1158,7 @@ public interface ICommonServer extends IServer ...@@ -1158,7 +1158,7 @@ public interface ICommonServer extends IServer
* @return number of data sets scheduled for archiving. * @return number of data sets scheduled for archiving.
*/ */
@Transactional @Transactional
@RolesAllowed(RoleWithHierarchy.SPACE_ADMIN) @RolesAllowed(RoleWithHierarchy.SPACE_POWER_USER)
@DatabaseUpdateModification(value = ObjectKind.DATA_SET) @DatabaseUpdateModification(value = ObjectKind.DATA_SET)
public int archiveDatasets( public int archiveDatasets(
String sessionToken, String sessionToken,
......
...@@ -1158,7 +1158,7 @@ public interface ICommonServer extends IServer ...@@ -1158,7 +1158,7 @@ public interface ICommonServer extends IServer
* @return number of data sets scheduled for archiving. * @return number of data sets scheduled for archiving.
*/ */
@Transactional @Transactional
@RolesAllowed(RoleWithHierarchy.SPACE_ADMIN) @RolesAllowed(RoleWithHierarchy.SPACE_POWER_USER)
@DatabaseUpdateModification(value = ObjectKind.DATA_SET) @DatabaseUpdateModification(value = ObjectKind.DATA_SET)
public int archiveDatasets( public int archiveDatasets(
String sessionToken, String sessionToken,
......
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