Skip to content

be less dependent on affected user #2400

@grnd-alt

Description

@grnd-alt

this would mainly be required for this feature request: nextcloud/deck#7673

problem

activity events are always filtered by the affected user: https://github.com/nextcloud/activity/blob/master/lib/Data.php#L248

  1. that forces apps to create an event for every user (for deck one event for each participant)
  2. users without access at event creation can't read past history when gaining access(apps could recreate old events from the db, but that's very prone to have errors)

solutions (rather thoughts)

An option for apps to create events that are only related to an object and have "dynamic" affected users would be great, but that comes with quite some important implications (and probably some more I didn't think of):
What happens when users loose access, history lost as well?
Activity would need some way to get affected users from the app that created the event.
Data migration for events on existing instances...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions