File tree Expand file tree Collapse file tree
plugin/src/test/java/io/jenkins/plugins/casc/permissions Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package io .jenkins .plugins .casc .permissions ;
22
33public enum Action {
4- VIEW_CONFIGURATION ("View Configuration" ),
5- DOWNLOAD_CONFIGURATION ("Download Configuration" ),
4+ VIEW_CONFIGURATION ("Export configuration" ),
65 APPLY_NEW_CONFIGURATION ("Apply new configuration" ),
76 RELOAD_EXISTING_CONFIGURATION ("Reload existing configuration" ),
87 ;
Original file line number Diff line number Diff line change 11package io .jenkins .plugins .casc .permissions ;
22
33import static io .jenkins .plugins .casc .permissions .Action .APPLY_NEW_CONFIGURATION ;
4- import static io .jenkins .plugins .casc .permissions .Action .DOWNLOAD_CONFIGURATION ;
54import static io .jenkins .plugins .casc .permissions .Action .RELOAD_EXISTING_CONFIGURATION ;
65import static io .jenkins .plugins .casc .permissions .Action .VIEW_CONFIGURATION ;
76import static java .lang .String .format ;
@@ -62,7 +61,6 @@ void checkPermissionsForSystemReader(JenkinsRule j) throws Exception {
6261 SYSTEM_READER ,
6362 ImmutableMap .<Action , Boolean >builder ()
6463 .put (VIEW_CONFIGURATION , true )
65- .put (DOWNLOAD_CONFIGURATION , true )
6664 .put (APPLY_NEW_CONFIGURATION , false )
6765 .put (RELOAD_EXISTING_CONFIGURATION , false )
6866 .build ());
@@ -106,7 +104,6 @@ void checkPermissionsForAdmin(JenkinsRule j) throws Exception {
106104 ADMIN ,
107105 ImmutableMap .<Action , Boolean >builder ()
108106 .put (VIEW_CONFIGURATION , true )
109- .put (DOWNLOAD_CONFIGURATION , true )
110107 .put (APPLY_NEW_CONFIGURATION , true )
111108 .put (RELOAD_EXISTING_CONFIGURATION , true )
112109 .build ());
You can’t perform that action at this time.
0 commit comments