Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
haskell-gargantext
haskell-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 159
    • Issues 159
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • haskell-gargantexthaskell-gargantext
  • Issues
  • #401

Closed
Open
Opened Sep 26, 2024 by Alfredo Di Napoli@AlfredoDiNapoli
  • Report abuse
  • New issue
Report abuse New issue

Access model for Notes

@anoe would like to bolt on an access model on top of plain Notes. In a nutshell, the place where we create a Note node determines its permission model.

Requirements

  • When creating a Note in the Private folder, we should always default as a private note, i.e. we should place it behind the proxy (if available) so that published links will be visibile only to Garg users;
  • When creating a Note in the Shared folder, users should be prompted with the choice of creating a "Public" vs a "Private" note, where the former doesn't use the proxy, the latter does. The actual difference is, once again, in the sharing: sharing a public note uses the writeframe service directly, and its links are obfuscated but otherwise accessible from the world.
  • When creating a Note in the Public folder, we should always default to a public note, i.e. one using writeframe directly, without the proxy.

Technical details

  • Probably in the frontend, notes should be represented differently (different colour? different icon?) whether they are public or private. This means that the backend/model should also store the information (at the node/note level) about the access model;
  • Probably if the user drags a Note from one folder to the other, the move should be forbidden if this clashed with its access model (we cannot move a private note into public etc).
Edited Sep 26, 2024 by Alfredo Di Napoli
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
1
Labels
New feature
Assign labels
  • View project labels
Reference: gargantext/haskell-gargantext#401