mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-14 00:26:33 +03:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
621363d191 |
+2
-2
@@ -12,9 +12,9 @@
|
||||
"_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": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2046/{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-2046/archived/{package_dotted}/{ref}.json",
|
||||
"archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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