mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5cd28c3420 |
@@ -0,0 +1,59 @@
|
|||||||
|
{
|
||||||
|
"manifests": {
|
||||||
|
"axium/identity": {
|
||||||
|
"manifest": {
|
||||||
|
"bundles": {
|
||||||
|
"Axium\\Identity\\AxiumIdentityBundle": [
|
||||||
|
"all"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"copy-from-recipe": {
|
||||||
|
"config/": "%CONFIG_DIR%/"
|
||||||
|
},
|
||||||
|
"post-install-output": [
|
||||||
|
"<bg=blue;fg=white> AXIUM Identity Bundle </>",
|
||||||
|
"",
|
||||||
|
"Le bundle a \u00e9t\u00e9 install\u00e9 avec succ\u00e8s.",
|
||||||
|
"",
|
||||||
|
"Ajoutez les variables d'environnement suivantes \u00e0 votre fichier .env :",
|
||||||
|
"",
|
||||||
|
"AXIUM_IDENTITY_URL=https://identity.example.com",
|
||||||
|
"AXIUM_CLIENT_ID=your-client-id",
|
||||||
|
"AXIUM_CLIENT_SECRET=your-client-secret",
|
||||||
|
"",
|
||||||
|
"Documentation:",
|
||||||
|
"https://github.com/BenjaminYAO/axium-identity"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"files": {
|
||||||
|
"config/packages/axium_identity.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"axium_identity:",
|
||||||
|
" url: '%env(AXIUM_IDENTITY_URL)%'",
|
||||||
|
" client_id: '%env(AXIUM_CLIENT_ID)%'",
|
||||||
|
" client_secret: '%env(AXIUM_CLIENT_SECRET)%'",
|
||||||
|
" verify_ssl: false",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
},
|
||||||
|
"config/routes/axium_identity.yaml": {
|
||||||
|
"contents": [
|
||||||
|
"axium_identity_login:",
|
||||||
|
" path: /login",
|
||||||
|
" controller: Axium\\Identity\\Controller\\SecurityController::login",
|
||||||
|
" methods: [GET, POST]",
|
||||||
|
"",
|
||||||
|
"axium_identity_logout:",
|
||||||
|
" path: /logout",
|
||||||
|
" controller: Axium\\Identity\\Controller\\SecurityController::logout",
|
||||||
|
"",
|
||||||
|
""
|
||||||
|
],
|
||||||
|
"executable": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ref": "63c4e8b612a009077e68f213f18fd9276cbf0045"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+4
-4
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"aliases": [],
|
"aliases": [],
|
||||||
"recipes": {
|
"recipes": {
|
||||||
"odiseoteam/sylius-rbac-plugin": [
|
"axium/identity": [
|
||||||
"3.0"
|
"1.0"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"recipe-conflicts": [],
|
"recipe-conflicts": [],
|
||||||
@@ -12,9 +12,9 @@
|
|||||||
"_links": {
|
"_links": {
|
||||||
"repository": "github.com/symfony/recipes-contrib",
|
"repository": "github.com/symfony/recipes-contrib",
|
||||||
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
|
"origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main",
|
||||||
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2044/{package_dotted}.{version}.json",
|
"recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2012/{package_dotted}.{version}.json",
|
||||||
"recipe_template_relative": "{package_dotted}.{version}.json",
|
"recipe_template_relative": "{package_dotted}.{version}.json",
|
||||||
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2044/archived/{package_dotted}/{ref}.json",
|
"archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2012/archived/{package_dotted}/{ref}.json",
|
||||||
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,56 +0,0 @@
|
|||||||
{
|
|
||||||
"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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user