Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有我sf_guard_user的字段,我想在权限和用户之间创建一个嵌入式关系,以便有一个表单,sf_guard_user能够为用户添加或修改权限。
sf_guard_user
You need to create a form with this class sfGuardUserForm. And inside this class, you have a widget called sf_guard_user_permission_list that handle permissions relation.
sfGuardUserForm
sf_guard_user_permission_list