v0.11.1 - Fixed roles and permissions
This commit is contained in:
@@ -12,6 +12,8 @@ class UserEventController extends Controller
|
||||
{
|
||||
$this->middleware(["auth"]);
|
||||
$this->middleware(["lang"]);
|
||||
$this->middleware([ "check.auth:userevent.create" ])->only("create");
|
||||
$this->middleware([ "check.auth:userevent.delete" ])->only("destroy");
|
||||
}
|
||||
/**
|
||||
* Update the specified resource in storage.
|
||||
|
||||
Reference in New Issue
Block a user