-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(MODULES-5898) add admin_only to chocolateysource #135
(MODULES-5898) add admin_only to chocolateysource #135
Conversation
Build is running through adhoc in Jenkins now to validate the new acceptance tests. |
README.md
Outdated
|
||
Option to specify whether this source should visible to administrators only. | ||
|
||
Requires at least Chocolatey v0.10.8 to set and at least Chocolatey Business Edition v1.12.2 to take effect. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Chocolatey for Business (C4B)" not "Chocolatey Business Edition"
I would reorder this a bit: "Requires Chocolatey for Business (C4B) v1.12.2+ and at least Chocolatey v0.10.8 for the setting to be respected." That way the commercial edition requirement is noted first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
README.md
Outdated
|
||
(**Property**: This parameter represents a concrete state on the target system.) | ||
|
||
Option to specify whether this source should visible to administrators only. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Administrators here being "Windows user accounts in the Administrators group", just so there is no confusion about what is meant here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small requests here.
Prior to this commit the `chocolateysource` type and provider did not support the option to specify the `--admin-only` flag when managing a source. This option causes Chocolatey to markthe source as visible only to admins and was introduced in Chocolatey `0.10.8`. This commit adds the `admin_only` property to the type and provider of `chocolateysource` to ensure that this property can be configured on versions which support it. This commit also updates the README documentation and CHANGELOG, as well as providing new unit and acceptance tests and updating any unit and acceptance tests which should include the new setting.
Prior to this commit the
chocolateysource
type and provider didnot support the option to specify the
--admin-only
flag whenmanaging a source. This option causes Chocolatey to markthe source
as visible only to admins and was introduced in Chocolatey
0.10.8
.This commit adds the
admin_only
property to the type andprovider of
chocolateysource
to ensure that this propertycan be configured on versions which support it.
This commit also updates the README documentation and CHANGELOG,
as well as providing new unit and acceptance tests and updating
any unit and acceptance tests which should include the new
setting.