Skip to content

User assigned policy is removed during push #156

@TomSteer

Description

@TomSteer

Describe the bug
When a policy is assigned at the user level, running a push will remove the assignment.
This was fixed in version 3.2.1 but seems to be happening again in version 3.2.3

To Reproduce
Steps to reproduce the behavior:

Assign a policy to a user in Directus
Run directus-sync push
Open user account in Directus
See policy is no longer assigned
Expected behavior
As users aren't included as part of the sync I would've expected it not to remove the policy assignment.

Versions:

Directus-Sync version: 3.2.3
Directus version: 11.3.5
Database: MSSQL
Directus environment Docker/Self-hosted

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions