Skip to content

[Bug]: Missing Policy Registration for Translation Model #44

@BRAAMHMDHMDA

Description

@BRAAMHMDHMDA

What happened?

The authorization policy for the Translation model is not registered in the AuthServiceProvider. This causes the system to skip permission checks, allowing users to access and modify translations without proper authorization. This bug introduces potential security risks and unintended access to translation features.

How to reproduce the bug

Register the authorization policy for the Translation model in the AuthServiceProvider

Package Version

2.0

PHP Version

8.1,8.2

Laravel Version

10.0,11.0

Which operating systems does with happen with?

No response

Notes

No response

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