Skip to content

Unauthorized users can move other users' queued tracks #1900

Description

@xayanide

Describe the bug

Users without DJ roles or Admin permissions are able to move and reorder tracks added by other users in the queue. This is likely a regression bug from removing ownership restrictions for autoplay tracks.

Severity

Low

Affected branches

  • Stable
  • Staging
  • Next

Quaver version

8.0.0-next.130

Steps to reproduce

  1. User A (regular user) adds tracks to the queue.
  2. User B (non-admin, no DJ role) attempts to move/reorder User A's queued tracks.
  3. Observe that User B is able to successfully reorder User A's tracks.

Expected behavior

Non-admin and non-DJ users should only be able to modify or move their own queued tracks, not those belonging to other users.

Actual behavior

Non-admin and non-DJ users can reorder and move tracks queued by other users regardless of DJ role enforcement.

Relevant log output

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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions