gstt/laravel-achievements

Achievement and permission

Arcesilas opened this issue · 1 comments

Hi,

I'm about using this package in a new project and I have one suggestion: what about granting permissions when some achievements are reached?
For example, on StackOverflow, you need to have at least 125 reputation to downvote, or 1500 to create tags.
I guess it's rather easy to set it up with a policy, but maybe it could be made with the achievements api?

Hi @Arcesilas,

This can be achieved by using the Event handlers alongside with your own User Roles/Access Control system. Do you have one set up already?