Skip to content

Commit 0e433f8

Browse files
committed
Fix scope of hub XMLRPC api endpoints
1 parent d84af55 commit 0e433f8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

java/code/src/com/suse/manager/xmlrpc/iss/HubHandler.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,7 @@ public int removePeripheralChannelsToSync(User loggedInUser, String fqdn, List<S
646646
* #prop_desc("string", "label", "Label of a peripheral channel to sync")
647647
* #array_end()
648648
*/
649+
@ReadOnly
649650
public List<String> listPeripheralChannelsToSync(User loggedInUser, String fqdn) {
650651
ensureSatAdmin(loggedInUser);
651652
try {
@@ -817,6 +818,7 @@ public MigrationResult migrateFromISSv2(User loggedInUser, List<Map<String, Stri
817818
* @apidoc.param #session_key()
818819
* @apidoc.returntype #param_desc("boolean", "peripheral", "True if this is an ISS peripheral, false otherwise")
819820
*/
821+
@ReadOnly
820822
public boolean isISSPeripheral(User loggedInUser) {
821823
ensureSatAdmin(loggedInUser);
822824
HubFactory hubFactory = new HubFactory();
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Fix scope of hub XMLRPC api endpoints

0 commit comments

Comments
 (0)