mrakodol / Laravel-5-Bootstrap-3-Starter-Site

Laravel Framework 5 Bootstrap 3 Starter Site is a basic application with news, photo and video galeries.
884 stars 406 forks source link

ACL needs to be fixed #192

Closed cabillier closed 8 years ago

cabillier commented 8 years ago

regular user can access the admin page...

if they are going to access routes other than admin/dashboard...

http://localhost/site/public/admin/user http://localhost/site/public/admin/photo

and etc

chrismedina commented 8 years ago

Yes,

public function authorize()
{
    return true;
}

Seems to be the issue in all of the requests.

cklam commented 8 years ago

Thanks buddy ! You nailed it!

Sent from my iPhone

On Dec 20, 2015, at 3:21 AM, Christopher Medina notifications@github.com wrote:

Yes,

public function authorize() { return true; } Seems to be the issue in all of the requests.

— Reply to this email directly or view it on GitHub.

stojankukrika commented 8 years ago

fixed in new version

cklam commented 8 years ago

I will take a look