Skip to content

Preserve ACL when copying a file/folderΒ #4517

@fcharlaix-opendsi

Description

@fcharlaix-opendsi

How to use GitHub

  • Please use the πŸ‘ reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
When copying a file or folder, all applied ACLs are lost.

Use case : A root folder named Project with a sub folder per project and "complex" ACLs at multiple levels

Project/
  PRJ-0123/
    Management/ (restricted to Management group)
      Invoices/
      RH/ (restricted to RH group)
    Tech/ (restricted to Tech group)
    ...
  Archives/
     ...

When a project is archived, all groups should keep their permissions it if needed, without letting everyone with access to Archives see restricted folders.

Describe the solution you'd like
On copy, ask the user if the new folder or file should preserve the current permissions (example from Passbolt) :

Image

If a permission is not compatible (the new parent folder is more restrictive) it should be dropped.

Describe alternatives you've considered
Creating a script that exports the ACL from OCC and reapplies it after copying.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions