dwijitsolutions / laraadmin

LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like Advanced CRUD Generation, Module Manager, Backups and many more.
http://laraadmin.com
MIT License
1.57k stars 538 forks source link

After Update and migrate Employee Modules other user's can't access dashboard #215

Open elektragroup opened 7 years ago

elektragroup commented 7 years ago

Hi Team,

After Update and migrate Employee Modules other user's can't access dashboard. Only super admin can access. Attached screenshot

and

What are all the files will replaced or changed if update or migrate the module?

I restored EmployeesController.php but still not working. Please help.

capture

azarzaza commented 7 years ago

Make sure user have access to module

On Jul 24, 2017 8:20 PM, "elektragroup" notifications@github.com wrote:

Hi Team,

After Update and migrate Employee Modules other user's can't access dashboard. Only super admin can access. Attached screenshot

and

What are all the files will replaced or changed if update or migrate the module?

I restored EmployeesController.php but still not working. Please help.

[image: capture] https://user-images.githubusercontent.com/29836170/28528968-e23ec824-70ac-11e7-9e27-b9cc7abf3d5c.JPG

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dwijitsolutions/laraadmin/issues/215, or mute the thread https://github.com/notifications/unsubscribe-auth/AWLoueHii1LltwPpC7YDPHIDIi5KGbZEks5sRK9DgaJpZM4OhS-G .

elektragroup commented 7 years ago

Thx for ur quick reply.

I gave access to certain modules and dashboard, but can't access

azarzaza commented 7 years ago

Have u created role permission for user and make sure does the use have permission for the module Check this in each module u have created

On Jul 24, 2017 8:25 PM, "elektragroup" notifications@github.com wrote:

Thx for ur quick reply.

I gave access to certain modules and dashboard, but can't access

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dwijitsolutions/laraadmin/issues/215#issuecomment-317449109, or mute the thread https://github.com/notifications/unsubscribe-auth/AWLouZeWkKA8vTbqVqCaG5nchnS3kKuRks5sRLBggaJpZM4OhS-G .

elektragroup commented 7 years ago

Plz check the screenshot.

capture capture1

Ethosteck commented 6 years ago

@elektragroup @gdbhosale @moraya-re @chrispecoraro @twmbx @madhavikhatal Laravel 5.3 using this repository and reinstall every thing but still cannot make it to work. i have created new permission and roles but user with that role is not able to view the access page kindly help to resolve my problem.

screen shot 2018-02-10 at 01 26 48 screen shot 2018-02-10 at 01 27 14

madhavikhatal commented 6 years ago

This right is only given to super admin role. If u want to change this - go to resources/views/la/roles/show.blade.php and search @role("SUPER_ADMIN")

On Fri, Feb 16, 2018 at 1:06 AM, Prem Sarojanand notifications@github.com wrote:

@elektragroup https://github.com/elektragroup @gdbhosale https://github.com/gdbhosale @moraya-re https://github.com/moraya-re @chrispecoraro https://github.com/chrispecoraro @twmbx https://github.com/twmbx @madhavikhatal https://github.com/madhavikhatal Laravel 5.3 using this repository and reinstall every thing but still cannot make it to work. i have created new permission and roles but user with that role is not able to view the access page kindly help to resolve my problem.

[image: screen shot 2018-02-10 at 01 26 48] https://user-images.githubusercontent.com/10820178/36059571-b1e17b20-0e60-11e8-9697-02db9f11093d.png [image: screen shot 2018-02-10 at 01 27 14] https://user-images.githubusercontent.com/10820178/36059572-b214557c-0e60-11e8-85a6-0dda590b3e8e.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dwijitsolutions/laraadmin/issues/215#issuecomment-364634002, or mute the thread https://github.com/notifications/unsubscribe-auth/ATrkSuKI5TIpXzPDZ0nhkWHu7tNZEtehks5tVIdHgaJpZM4OhS-G .

Ethosteck commented 6 years ago

Hey Madhavi, Thanks for taking out the time. I have framed my question in wrong way so sorry for that. Problem. i created another user with roles called FRANCHISE_ADMIN when i tried to login from the FRANCHISE_ADMIN user it says unauthorized user on Dashboard page.

when i removed the permission from route admin_routes i am able to view the Dashboard but unable to see all the modules in menu section even the sales_order_summaries module which has full access, for which i have given the access to FRANCHISE_ADMIN.

This Is my current problem i am trying to figure out the route cause of it but unable to achieve anything. If you can guide me to right direction it will be great help. Awaiting reply in anticipation. @madhavikhatal @gdbhosale @moraya-re @twmbx

Ethosteck commented 6 years ago

Hey Madhavi, Ganesh and All team,

Really thanks for guiding me to right direction i didn't say that i have solve the problem for now but i did to make my project running. Information for other users who would be facing same issue as mine.

Steps 1.) Don't change laraadmin admin default module after installation. which i have done in employes and users although restore doesn't help. 2.) if you want to change anything do it before installation in vendor/dwij/laraadmin and install it. 3.) create project laravel 5.4 4.) added the cloned repo of dwij/laraadmin under vendor 5.) add following in vendor/composer/autoload_psr4.php if not der 5.1 'Dwij\Laraadmin\' => array($vendorDir . '/dwij/laraadmin/src'), 5.2 'Zizaco\Entrust\' => array($vendorDir . '/zizaco/entrust/src/Entrust'), 5.3 'Yajra\Datatables\' => array($vendorDir . '/yajra/laravel-datatables-oracle/src'), 5.4 'Spatie\DbDumper\' => array($vendorDir . '/spatie/db-dumper/src'), 5.5 'Spatie\Backup\' => array($vendorDir . '/spatie/laravel-backup/src'), 6.) composer dump autoload 7.) give necessary permission chmod -R 777 storage/ bootstrap/ vendor/ database/migrations/ routes/ app/Http/Controllers/ resources/ app/ 8.) run php artisan la:install

Every thing will be fine up and running.

I am still comparing these two codes what went wrong actually so that it can removed permanently from this wonderful package.

Really Appreciate all your effort guys Ganesh and All team Thanks.

@madhavikhatal @gdbhosale @moraya-re @twmbx

marceloagil commented 6 years ago

I'm saving same issue. Why DWIJITSOLUTIONS doesn't sell LaraAdmin? I would be happy to pay, it's really saving some time.

leopinzon commented 6 years ago

@Agimovel If you're willing to pay, there are lots of paid options in the market :)

Muhammadinaam commented 3 years ago

Hi, this is a nice package but I think that the developers have stopped working on it. Maybe you can try this package: https://github.com/Muhammadinaam/speed-admin. It supports Laravel 8+.