chef

https://github.com/opscode/chef

Ruby

A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.

Chef::ReservedNames::Win32::Security::SecurableObject#predict_rights_mask

This method predicts what the rights mask would be on an object
if you created an ACE with the given mask.  Specifically, it looks for
generic attributes like GENERIC_READ, and figures out what specific
attributes will be set.  This is important if you want to try to
compare an existing ACE with one you want to create.

Source | Google | Stack overflow

Edit

git clone [email protected]:opscode/chef.git

cd chef

open lib/chef/win32/security/securable_object.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Chef--ReservedNames--Win32--Security--SecurableObject-predict_rights_mask-for-pr


# Commit to git

git add lib/chef/win32/security/securable_object.rbgit commit -m "better docs for Chef::ReservedNames::Win32::Security::SecurableObject#predict_rights_mask"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Chef--ReservedNames--Win32--Security--SecurableObject-predict_rights_mask-for-pr

hub pull-request


# Celebrate!