laravel-achievements icon indicating copy to clipboard operation
laravel-achievements copied to clipboard

Achievement and permission

Open Arcesilas opened this issue 6 years ago • 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?

Arcesilas avatar Feb 18 '19 13:02 Arcesilas

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?

gabs-simon avatar Mar 30 '19 20:03 gabs-simon