Skip to content
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

Better support for 'deep' recursive acls #15

Merged
merged 1 commit into from
Sep 22, 2015

Conversation

roidelapluie
Copy link
Member

No description provided.

def newchild(path)
full_path = ::File.join(self[:path], path)
options = @original_parameters.merge(:name => full_path).reject { |param, value| value.nil? }
unless File.directory?(options[:name]) then
options[:permission].reject! { |acl| acl.split(':', -1).length == 4 } if options.include?(:permission)
option[:permission] = self.class.pick_default_perms(option[:permission]) if options.include?(:permission)

Choose a reason for hiding this comment

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

Shouldn't this be options?

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed forgot to push

@roidelapluie
Copy link
Member Author

that is why I like travis but dislike ruby 1.8

@dobbymoodge
Copy link

@roidelapluie lol, I hear ya

dobbymoodge added a commit that referenced this pull request Sep 22, 2015
Better support for 'deep' recursive acls
@dobbymoodge dobbymoodge merged commit 87949b5 into voxpupuli:master Sep 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants