mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
57 lines
2.6 KiB
JSON
57 lines
2.6 KiB
JSON
{
|
|
"manifests": {
|
|
"odiseoteam/sylius-rbac-plugin": {
|
|
"manifest": {
|
|
"bundles": {
|
|
"Odiseo\\SyliusRbacPlugin\\OdiseoSyliusRbacPlugin": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/"
|
|
},
|
|
"post-install-output": [
|
|
" <bg=blue;fg=white> </>",
|
|
" <bg=blue;fg=white> What's next? </>",
|
|
" <bg=blue;fg=white> </>",
|
|
"",
|
|
" * <fg=blue>Make</> your AdminUser administration-role aware: add",
|
|
" <comment>AdministrationRoleAwareInterface</> and <comment>AdministrationRoleAwareTrait</>",
|
|
" to your <comment>AdminUser</> entity. This plugin cannot do it for you -- that class is",
|
|
" yours, and may already extend or implement other things.",
|
|
"",
|
|
" * <fg=blue>Update</> your database schema:",
|
|
" <comment>bin/console doctrine:migrations:migrate</>",
|
|
"",
|
|
" * <fg=blue>Grant</> yourself access. A fresh install denies every administrator",
|
|
" everything, including the screen that assigns roles:",
|
|
" <comment>bin/console odiseo:rbac:grant <username-or-email> super_admin --create</>",
|
|
"",
|
|
" * <fg=blue>Read</> the full installation guide, including the AdminUser snippet, at",
|
|
" <comment>https://github.com/odiseoteam/SyliusRbacPlugin/blob/master/doc/installation.md</>"
|
|
]
|
|
},
|
|
"files": {
|
|
"config/packages/odiseo_sylius_rbac_plugin.yaml": {
|
|
"contents": [
|
|
"imports:",
|
|
" - { resource: \"@OdiseoSyliusRbacPlugin/config/config.yaml\" }",
|
|
""
|
|
],
|
|
"executable": false
|
|
},
|
|
"config/routes/odiseo_sylius_rbac_plugin.yaml": {
|
|
"contents": [
|
|
"odiseo_sylius_rbac_admin:",
|
|
" resource: \"@OdiseoSyliusRbacPlugin/config/routes/admin.yaml\"",
|
|
" prefix: /admin",
|
|
""
|
|
],
|
|
"executable": false
|
|
}
|
|
},
|
|
"ref": "446d9c41ded26a64d2d978075d3604a754b6516b"
|
|
}
|
|
}
|
|
}
|