Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • predi predi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kjetil Thuen
  • predipredi
  • Issues
  • #28

Closed
Open
Created Dec 08, 2014 by Kjetil Thuen@kjetilMaintainer

Only publish data relevant to user

For performance and security reasons, restrict the publications to only publish documents for markets, contractsets, contrats and users that share tags with the logged in user.

Also the users do not need the entire activity log. Just the trades (for markets the user is tagged for) is sufficient.

We probably want some helper functions that return a set of tags for the logged in user, which can then be used with the $in directive in the published mongo queries.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking