8000 Change to how default acls are handled · Issue #4 · ncerny/facl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Change to how default acls are handled #4
Open
@Jamstah

Description

@Jamstah

Having just played with this code, I'd like to suggest a change to how default acls are handled. Technically, the ACL and Default ACL for a directory are two different resources, so I think something like this would be better:

acl /tmp/directory do
  user 'rwx'
  group '': 'r-x', testgroup: 'rwx'
  mask 'rwx'
end
default_acl /tmp/directory do
  user 'rwx'
  group '': 'r-x', testgroup: 'rwx'
  mask 'rwx'
end

That would also allow for having an action :remove to remove acls or default acls individually.

I might be able to do the work, and would also recommend being able to accept the current form with a deprecation warning. Didn't want to do the work and submit a PR without having a design discussion though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0