Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Game Category CRUD #3

Open
Cevantime opened this issue Dec 10, 2020 · 3 comments
Open

Add Game Category CRUD #3

Cevantime opened this issue Dec 10, 2020 · 3 comments

Comments

@Cevantime
Copy link
Owner

Hi guys,

As we store game category in database, it would be great to add some CRUD functionnality in BackOffice that could only be accessed by the administrators. I can't do it myself right now (too much work) but guess that this command could be of great help :
php bin/console make:crud
This way, category could be easily added/updated dynamically.

@FriiZe
Copy link

FriiZe commented Dec 11, 2020

Hi,
Can you just tell me what will be the name of the permission which should allow access to the resource ?
More precisely, which string must be in the user.roles array ?

@Cevantime
Copy link
Owner Author

Well, I guess ROLE_ADMIN should do the trick.

@Cevantime
Copy link
Owner Author

To be specific, I need a Category CRUD that can be edited by admins. So a Category CRUD, not a Game CRUD :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants