Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
F
File Repository
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Genesys PGR
  • File Repository
  • Issues
  • #23

Closed
Open
Opened Nov 29, 2017 by Matija Obreza@mobrezaOwner

Repository Paths

The repository does not manage paths of repository files, they are plain attributes. To be able to manage and control access to various areas of the repository we need to introduce a new RepositoryFolder entity with ACL support.

All RepositoryFile on that RepositoryPath inherit ACL permissions from the path, but also retain their own ACL entries. This allows for efficient management of permissions over various paths in the repository and handles file movement.

Parent path

The parent path must exist for every path, except repository root. The path OID must have a parent OID set so that permissions are properly propagated.

Renaming paths

The repository path is designed to be immutable and it's path attribute cannot be modified. Entries have to be moved first and the path deleted in order to "change it".

Path ownership

The path OID is owned by whoever creates it.

Edited Dec 18, 2017 by Matija Obreza
Assignee
Assign to
1.1
Milestone
1.1
Assign milestone
Time tracking
None
Due date
None
Reference: genesys-pgr/file-repository#23