laravel-8-roles-and-permissions
laravel-8-roles-and-permissions copied to clipboard
USER DOES NOT HAVE THE RIGHT PERMISSIONS.
Challenge accessing Roles and Products.. I get a 403 USER DOES NOT HAVE THE RIGHT PERMISSIONS.
403 USER DOES NOT HAVE THE RIGHT PERMISSIONS.
Nice code.. But when i test creating a user with product-list roles, that user still able access to user menu, can create , edit, n delete user include admin in the list. tqvm
I followed your code but seems user permission issue. How i can make first user an Admin?
@salaskar You can follow "Step 10: Create Seeder For Permissions and AdminUser" in this link https://www.itsolutionstuff.com/post/laravel-8-user-roles-and-permissions-tutorialexample.html
Thank you
Thanks for your immediate response. I will try the code and update here
@savanihd It worked. Thanks a lot
Hi, I have tried one more code of yours for excel import. Is it possible to import data every month and fetch the same using maatwebsite/excel? Your guidance is highly appreciated.
Hi man, If you want to download data in CSV or Excel file then you can see this example: https://www.itsolutionstuff.com/post/laravel-8-import-export-excel-and-csv-file-tutorialexample.html
Also if you need only the current month then you can view this example: https://www.itsolutionstuff.com/post/how-to-get-current-month-records-in-laravel-5example.html
If you need to fetch data every month automatically then you can follow this example: https://www.itsolutionstuff.com/post/laravel-8-cron-job-task-scheduling-tutorialexample.html
I hope those links can help you.
Using step 10 of your code doesnt work i still get the error
Challenge accessing Roles and Products.. I get a 403 USER DOES NOT HAVE THE RIGHT PERMISSIONS. Please help me.