Laravel-Backpack / demo

A working demo of Laravel with all Backpack packages installed.
http://backpackforlaravel.com
Other
329 stars 165 forks source link

[Feature request] Add front-end pages and menu #72

Open Slowchaos opened 5 years ago

Slowchaos commented 5 years ago

Bug report

What I did: Downloaded and installed demo per instructions. Ran all composer and artisan commands. Started site and logged in as "admin@example.com" with password "admin".

What I expected to happen: Fully functional admin panel.

What happened: Panel loads but I had no privileges. I can create page but get 404 error when navigating to it. I can not create roles, permissions, privileges, or create menu items. All return a 403 error code.

What I've already tried to fix it: Not going to try. Not my demo.

Backpack, Laravel, PHP, DB version: Latest download of the demo package.

welcome[bot] commented 5 years ago

Hello there! Thanks for opening your first issue on this repo!

Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that.

Backpack communication mediums:

Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch.

Thank you!

-- Justin Case The Backpack Robot

johnpuddephatt commented 5 years ago

Having same issues on fresh install of Laravel-Backpack/Demo.

can create page but get 404 error when navigating to it

Frontend routes for pages are not defined, see here

@tabacitu – while it makes sense that PageManager doesn't define frontend routes, I think that either: a) they should be defined in the demo, or b) the open button should be disabled by default as its presence in the backend probably leads users to expect the frontend to work.

I can not create roles, permissions, privileges, or create menu items

@tabacitu Updating Laravel-Backpack/PermissionManager to ^3.12 fixes the first three things, and Laravel-Backpack/CRUD#1741 addresses the final one (menu items).

tabacitu commented 5 years ago

Hmm... you're right @johnpuddephatt . I think it would be best for the Demo to also "demo" the front end routing. So that the "open" button to actually work. Will do.

Thanks for pointing this out @Slowchaos !

tabacitu commented 5 years ago

To do: