Skip to content

fix(segregation): on public stream the change of user's rights is not taken into account #18219

Description

@MTorbay-Filigran

Description

When you create a public stream, you can choose to apply the permission of a specific user to the stream.
If the permission of the user changes after the creation of the stream, it is not taken into account until the instance reloads.

Reproducible steps

Steps to create the smallest reproducible scenario:

  1. Create a user with restriction TLP:AMBER
  2. Create a public stream in Data > Data sharing > Live streams > Create Live Stream and restrict with this user's rights with filter on entity type > report :
Image
  1. Create a report with no marking => it should appear in the stream
  2. Add TLP : RED Marking and update it => it should not appear in the stream
  3. Add TLP : RED access to your user
  4. Update again the report : it is not shared in the stream (and it should)

Expected output

The user's permission should be updated automatically in the stream linked to this user.

Actual output

User's permission update is not taken into account.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugType: something isn't working (fix:).streamLinked to stream.

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions