Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Boards
    Boards
  • Wiki
    Wiki

Content

Wiki
  1. Stream Nextcloud app "OpenProject Integration"
  2. Wiki
  3. FileIDs
More
  • Print
  • Table of contents

FileIDs

More
  • Print
  • Table of contents
Export
Export
  • Atom
  • Markdown

Version 1/1 — Eric Schubert — 03/07/2022 02:43 PM

Considerations about files and fileIds in Nextcloud to keep in mind
item here means files or folder

  • items don't have a creator or modifier attribute, only owner
  • items ownership is changed (but not the id) when a user receives a folder as a share and moves an item out of the share to an other location
  • if a user is deleted all items that are owned by the user are deleted
  • a received shared item can be renamed and that name will not be propagated to the owner or other share receivers
  • a rename of an item in a received folder share will be propagated to the owner and other share receivers
  • multiple names can be associated with the same fileId. e.g. :
    1. James has a folder called "Documents" with a file called "important.doc"
    2. James shares folder "Documents" with Peter
    3. James shares separately "Documents/important.doc" with Peter
    4. Peter will have receiver "important.doc" twice but both "location" of the file will have the same fileId
    5. when Peter takes the fileId and queries for its name OCP\Filles\Folder::getById() he will receive two objects and in case he renamed one of the representations of the file both of the objects will show different names

Julien approves all above statements.

Loading...