NullTraining / reviewz

..
1 stars 2 forks source link

[Behat] Event Application Context - regular user can create new events for organization #181

Closed HcsOmot closed 6 years ago

HcsOmot commented 6 years ago

There's a false positive kind of bug in the EventApplicationContext, where a regular user, Jo Johnson, can create a new event for an organization.

msvrtan commented 6 years ago

That's cause we didnt add guard to check if person is allowed to do it, can you add the check to handler?