mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
Update Flex endpoint
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"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>Read</> the full installation guide at",
|
||||
" <comment>https://github.com/odiseoteam/SyliusRbacPlugin/blob/master/doc/installation.md</>",
|
||||
"",
|
||||
" * <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</>"
|
||||
]
|
||||
},
|
||||
"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: '/%sylius_admin.path_name%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "f2bb4d7451052362ab1c0cee03d3fc604258fb2b"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -15,20 +15,12 @@
|
||||
" <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>Read</> the full installation guide at",
|
||||
" <comment>https://github.com/odiseoteam/SyliusRbacPlugin/blob/master/doc/installation.md</>",
|
||||
"",
|
||||
" * <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</>"
|
||||
" <comment>bin/console odiseo:rbac:grant <username-or-email> super_admin --create</>"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
@@ -44,13 +36,13 @@
|
||||
"contents": [
|
||||
"odiseo_sylius_rbac_admin:",
|
||||
" resource: \"@OdiseoSyliusRbacPlugin/config/routes/admin.yaml\"",
|
||||
" prefix: /admin",
|
||||
" prefix: '/%sylius_admin.path_name%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "446d9c41ded26a64d2d978075d3604a754b6516b"
|
||||
"ref": "f2bb4d7451052362ab1c0cee03d3fc604258fb2b"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user