Bastien D
Bastien D

Reputation: 1465

Access Control List (ACL) for specific object

I would like to use a ACL system with LARAVEL framework.

I understand that I can control the rights to resources such as the entity "Comment". My "Moderator" role could "delete", "edit" any comment.

However, how can I manage the rights for a specific "comment" ? which a user is the owner? I seek to combine the best practices ...

Upvotes: 0

Views: 485

Answers (1)

Yehia
Yehia

Reputation: 386

check this out https://github.com/efficiently/authority-controller

restricts what resources a given user is allowed to access.

Upvotes: 1

Related Questions