Skip to content

Updates README per DOC-1506 #53

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

Merged
merged 3 commits into from
Mar 25, 2015
Merged

Conversation

psoloway
Copy link
Contributor

  1. Remove any "what this affects" sections, except where particularly warranted.
  2. Make sure that for each parameter, where applicable, there is a data type and a default value.
  3. Make sure that for each parameter that's applicable, there is a note if the parameter is optional.
  4. Make sure the links in the README work and are accurate.
  5. Update the link in the Contributing section to point here: https://docs.puppetlabs.com/forge/contributing.html
  6. General copyediting.

1. Remove any "what this affects" sections, except where particularly warranted.
2. Make sure that for each parameter, where applicable, there is a data type and a default value.
3. Make sure that for each parameter that's applicable, there is a note if the parameter is optional.
4. Make sure the links in the README work and are accurate.
5. Update the link in the Contributing section to point here: https://docs.puppetlabs.com/forge/contributing.html
6. General copyediting.
@@ -1,4 +1,4 @@
ACL (Access Control List)
acl
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You really should still define what acl is somewhere.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know it's down in the TOC, but it may be better to happen as soon as possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The explanation of ACEs moved down to the top of the Usage section (line 51). The Description section is supposed to stay pretty high-level, focusing on the question "what does it do?". This info seemed more pertinent to "how do I use it?".

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For those of us who know what an ACL is, it's not a worry. For those that don't, the first question is what is it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And I don't know on the capital versus non-capital. It's a TLA so....

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may be fine since the first time it is used in a sentence in overview it is spelled out.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this context "acl" (lower-case, as defined in our style guide) is the name of the module itself, which is distinct from "ACL" (upper-case), the technology the module supports. ACL the technology doesn't get directly referenced until that Overview section you pointed out, so that's where the definition fits best.

A bit confusing, I know, but hopefully the end user won't even need to notice the distinction.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ferventcoder
Copy link
Contributor

With all of the reordering going on, it is extremely difficult to see what has actually changed. I think it would be better to split this up into two commits - one with the actual changes (FIRST), and then the reordering of sections.

@psoloway
Copy link
Contributor Author

Hi Rob,

I feel your pain, but is there any way you can work around the messiness?
I'll be more mindful of this in the future, and save major reordering for
the end whenever possible—but in this case it would really take a lot of
time to get everything back to where it was.

For what it's worth, I'm finding the Split view a bit easier to read than
the unified diff.

On Mon, Mar 23, 2015 at 12:05 PM, Rob Reynolds [email protected]
wrote:

With all of the reordering going on, it is extremely difficult to see what
has actually changed. I think it would be better to split this up into two
commits - one with the actual changes (FIRST), and then the reordering of
sections.


Reply to this email directly or view it on GitHub
#53 (comment)
.


The name of the ACL resource; will be used for `target` if `target` is not set.
You cannot specify inherited ACEs in a manifest; you can only specify whether to allow upstream inheritance to flow into the managed ACL. If your modeled resources don't follow this order, Windows complains. The `acl` type **does not** enforce or complain about ACE order.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing here, the acl type will order them as they are put into the manifest, so it does enforce the order specified, it just doesn't complain about it being wrong. However you want to wordsmith that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about this:

You cannot specify inherited ACEs in a manifest; you can only specify whether to allow upstream inheritance to flow into the managed ACL. If your modeled resources don't follow this order, Windows complains. The acl type applies your resources in the order they appear in your manifest, and does not warn you if the order is incorrect.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually that helped a bit. I see now that we should spell out that the order is based on the paragraph above, and maybe change that to an ordered list.

How about this:

Each ACE has one of four possible statuses (in the order they are applied):

  1. explicit deny
  2. explicit allow
  3. inherited deny
  4. inherited allow

The order of ACEs within an ACL determines which one is applied first. If your modeled resources don't follow this order, Windows complains. The acl type applies the ACEs in the order they appear in your resource, but does not warn you if the order is incorrect.

NOTE: You cannot specify inherited ACEs in a manifest; you can only specify whether to allow upstream inheritance to flow into the managed ACL.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated my comment - I missed that there is the Windows relevant ACL / ACE application first, then the acl resource and how it does its work.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think with this change, everything is probably good for merge.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, thanks!

To anyone watching: I've got a quick call scheduled with @ferventcoder tomorrow morning to refine my understanding of this paragraph. I might take one more crack at clarifying it before updating the PR.

Rewords the Description and Usage intro based on comments.
Also fixes a broken anchor link in the table of contents.
We refer to a message that Windows users might receive if applying ACEs
in a non-standard order. Adding the specific text for the sake of
searchability.
@ferventcoder
Copy link
Contributor

I'm +1 to these changes

ferventcoder added a commit that referenced this pull request Mar 25, 2015
Updates README per DOC-1506
@ferventcoder ferventcoder merged commit f3f9fd7 into puppetlabs:master Mar 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants