I want to restrict discussion creation to specific user groups like admin I changed it in middleware section of configuration but it didn't work may be there is something I am doing wrong please guid, also how do I hide create discussion option from forum
'discussion' => [ 'index' => [], 'show' => [], 'create' => ['admin'], 'store' => [], 'destroy' => ['admin'], 'edit' => [], 'update' => [], ],
I want to restrict discussion creation to specific user groups like admin I changed it in middleware section of configuration but it didn't work may be there is something I am doing wrong please guid, also how do I hide create discussion option from forum
'discussion' => [ 'index' => [], 'show' => [], 'create' => ['admin'], 'store' => [], 'destroy' => ['admin'], 'edit' => [], 'update' => [], ],