commit db3ce376e8dc395cca4ca2e2255ec4c5784eb05b Author: github-action[bot] <> Date: Fri Sep 4 03:56:33 2026 +0000 Create Flex endpoint diff --git a/index.json b/index.json new file mode 100644 index 00000000..b97e1189 --- /dev/null +++ b/index.json @@ -0,0 +1,20 @@ +{ + "aliases": [], + "recipes": { + "odiseoteam/sylius-rbac-plugin": [ + "3.0" + ] + }, + "recipe-conflicts": [], + "versions": [], + "branch": "main", + "is_contrib": true, + "_links": { + "repository": "github.com/symfony/recipes-contrib", + "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_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_relative": "archived/{package_dotted}/{ref}.json" + } +} diff --git a/odiseoteam.sylius-rbac-plugin.3.0.json b/odiseoteam.sylius-rbac-plugin.3.0.json new file mode 100644 index 00000000..772bd6d6 --- /dev/null +++ b/odiseoteam.sylius-rbac-plugin.3.0.json @@ -0,0 +1,56 @@ +{ + "manifests": { + "odiseoteam/sylius-rbac-plugin": { + "manifest": { + "bundles": { + "Odiseo\\SyliusRbacPlugin\\OdiseoSyliusRbacPlugin": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "post-install-output": [ + " ", + " What's next? ", + " ", + "", + " * Make your AdminUser administration-role aware: add", + " AdministrationRoleAwareInterface and AdministrationRoleAwareTrait", + " to your AdminUser entity. This plugin cannot do it for you -- that class is", + " yours, and may already extend or implement other things.", + "", + " * Update your database schema:", + " bin/console doctrine:migrations:migrate", + "", + " * Grant yourself access. A fresh install denies every administrator", + " everything, including the screen that assigns roles:", + " bin/console odiseo:rbac:grant super_admin --create", + "", + " * Read the full installation guide, including the AdminUser snippet, at", + " 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" + } + } +}