laravel-8-roles-and-permissions icon indicating copy to clipboard operation
laravel-8-roles-and-permissions copied to clipboard

USER DOES NOT HAVE THE RIGHT PERMISSIONS.

Open kasirye opened this issue 3 years ago • 10 comments

Challenge accessing Roles and Products.. I get a 403 USER DOES NOT HAVE THE RIGHT PERMISSIONS.

kasirye avatar May 11 '21 07:05 kasirye

403 USER DOES NOT HAVE THE RIGHT PERMISSIONS.

egovaflavia avatar May 19 '21 02:05 egovaflavia

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

fizzfaiz avatar Jun 09 '21 15:06 fizzfaiz

I followed your code but seems user permission issue. How i can make first user an Admin?

salaskar avatar Oct 23 '21 05:10 salaskar

@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

savanihd avatar Oct 23 '21 10:10 savanihd

Thanks for your immediate response. I will try the code and update here

salaskar avatar Oct 23 '21 10:10 salaskar

@savanihd It worked. Thanks a lot

salaskar avatar Oct 25 '21 02:10 salaskar

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.

salaskar avatar Oct 26 '21 07:10 salaskar

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.

savanihd avatar Oct 26 '21 07:10 savanihd

Using step 10 of your code doesnt work i still get the error

yassin-c avatar Jan 19 '22 15:01 yassin-c

Challenge accessing Roles and Products.. I get a 403 USER DOES NOT HAVE THE RIGHT PERMISSIONS. Please help me.

pradosh79 avatar Apr 20 '23 22:04 pradosh79