Top Menu

Jump to content
    Global modules

    Global modules

    • Home
    • Projects
    • Activity
    • Work packages
    • Gantt charts
    • Calendars
    • Team planners
    • Boards
    • News
    Home
    Home
Help
    Getting started
    • Introduction video
  • 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

User menu

Sign in
Forgot your password?

or sign in with your existing account

OpenProject ID Google

Side Menu

Collapse project menu

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

Content

Expand project menu
Wiki
  1. OpenProject Community
  2. Stream Nextcloud app "OpenProject Integration"
  3. Wiki
  4. FileIDs
More
  • Print
  • Table of contents

FileIDs

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

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...