Red Hat Bugzilla – Bug 1277994
RFE: extend spacecmd softwarechannel_setorgacces for protected sharing level
Last modified: 2017-09-27 15:04:12 EDT
Description of problem:
Having shared channels between multiple organisations there is no convient way to set the sharing level to protected for a subset of channels with spacecmd.
I extended the spacecmd code and created a pull request:
Tested it against my spacewalk-2.3 server on CentOS-6 with spacecmd from master.
Also added two commands to set/get orgaccess for a whole channel tree at once.
What do you think about it?
spacewalk master commit:
Verified with spacecmd-2.6.16-1.el6.noarch
-p,--protected ORG : protected org access for ORG only (multiple instances of -p ORG are allowed)
>> spacecmd "softwarechannel_setorgaccess example-channel -p ORG-1"
INFO: Connected to https://localhost/rpc/api as admin
INFO: Making org sharing protected for channel : example-channel
INFO: Enabling ORG-1 access for channel : example-channel
This looks like it was fixed in previous release, but I'm closing it in this one.
Spacewalk 2.7 has been released.