Class: RhnSatellite::ChannelAccess

Inherits:
RhnSatellite::Connection::Base show all
Defined in:
lib/rhn_satellite/channel_access.rb

Class Method Summary collapse

Methods inherited from RhnSatellite::Connection::Base

reset

Class Method Details

.disable_user_restrictions(channel_label) ⇒ Object



5
6
7
# File 'lib/rhn_satellite/channel_access.rb', line 5

def disable_user_restrictions(channel_label)
  base.default_call('channel.access.disableUserRestrictions',channel_label)
end

.enable_user_restrictions(channel_label) ⇒ Object



8
9
10
# File 'lib/rhn_satellite/channel_access.rb', line 8

def enable_user_restrictions(channel_label)
  base.default_call('channel.access.enableUserRestrictions',channel_label)
end

.get_org_sharing(channel_label) ⇒ Object



11
12
13
# File 'lib/rhn_satellite/channel_access.rb', line 11

def get_org_sharing(channel_label)
  base.default_call('channel.access.getOrgSharing',channel_label)
end

.set_org_sharing(channel_label, access) ⇒ Object



14
15
16
# File 'lib/rhn_satellite/channel_access.rb', line 14

def set_org_sharing(channel_label,access)
  base.default_call('channel.access.setOrgSharing',channel_label,access)
end