0
A
回答
0
如果您使用的是KnpMenuBundle之類的東西,則可以在您的樹枝模板或安全環境isGranted('ROLE_*ROLE*')
中使用{% if is_granted('ROLE_*ROLE*' %}
。
相關問題
- 1. 工具欄項目顏色
- 2. IvoryCKEditorBundle:如何自定義工具欄項目?
- 3. UITableViewController不顯示工具欄項目?
- 4. 工具欄項不顯示
- 5. 工具欄沒有顯示?
- 6. 工具欄項目顏色(3個點)
- 7. activity.setSupportActionBar(工具欄)沒有顯示工具欄
- 8. iPhone NavigationControl工具欄項目
- 9. 帶有styles.xml的Android工具欄的顏色特定項目
- 10. 添加工具欄項目或按鈕DetailViewController工具欄的iPad
- 11. 添加工具欄項目上默認的工具欄
- 12. 工具欄無法顯示
- 13. Android:工具欄未顯示
- 14. 工具欄未顯示
- 15. htmleditorextender不顯示工具欄
- 16. presentModalViewController不顯示工具欄?
- 17. 工具欄不顯示android
- 18. wordpress工具欄不顯示
- 19. AppCompat工具欄未顯示
- 20. Jmesa工具欄 - 顯示html.toolbar.text
- 21. MDIChild工具欄顯示MDIParent
- 22. 工具欄不顯示
- 23. iOS - 工具欄未顯示
- 24. 工具欄不顯示
- 25. 在該工具欄的JavaScript內顯示FireFox工具欄
- 26. 窗口工具欄項目不裏顯示的MenuItems
- 27. 僅在activity_main中顯示的工具欄項目
- 28. 沒有顯示工具欄按鈕
- 29. 沒有顯示工具欄標題
- 30. 工具欄在沒有顯示