我有一个简单的ARO / ACO设置,我的所有用户都是ARO,我的所有模块都是ACO,ARO_ACO表拥有权限。
这很好用,除非我删除用户,我希望能够通过删除与用户相关的ARO相关的任何条目来清理ARO_ACO和ARO表。
我该怎么做? 文档根本没用!
I've got a simple ARO/ACO set up with simply all my users as AROs and all my Modules as ACOs and the ARO_ACOs table holds the permission rights.
This works great, except when I delete a User, I'd like to be able to clean up the ARO_ACOs and ARO tables by removing any entries associated with the ARO related to the user.
How do I go about this? The documentation is not helpful at all!
最满意答案
使用ACL行为? 无需任何操作
假设正在使用acl行为 ,则无需执行任何操作,因为它会自动删除aros / acos的acl记录 ,这也会同时删除权限记录。
Using the ACL behavior? No action required
Assuming the acl behavior is in use, there's no need to do anything as it automatically deletes acl records for aros/acos, which will also delete the permission records at the same time.
更多推荐
发布评论