Skip to content

Symfony: Add authorization constraints on entities #67

@malkusch

Description

@malkusch

Currently users can view, edit and delete entities of other users:

  1. Login as User-1
  2. Create pad and remember id of that pad from URI.
  3. Login as User-2
  4. With the pad id from 2. you can view and edit the pad.

Deleting the pad doesn't work, but unfortunately deleting the note of another user does.

The authenticated user should be checked against the owner of entities.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions