Enhancement(機能追加・改善) #556
Change opDynamicAclRoute not to use ACL Builder if the protected model class implements opAccessControlRecordInterface (opDynamicAclRoute で保護するモデルクラスが opAccessControlRecordInterface を実装している場合は ACL Builder を使わないようにする)
Start date:
2010-02-02
Due date:
% Done:
100%
Description
Change opDynamicAclRoute not to use ACL Builder if the protected model class implements opAccessControlRecordInterface.
If the model implements opAccessControlRecordInterface, it must have system for ACL. So defining same ACL in ACL Builder is really useless.
opDynamicAclRoute で保護するモデルクラスが opAccessControlRecordInterface を実装している場合は ACL Builder を使わないようにする。
opAccessControlRecordInterface を実装しているモデルは ACL のための仕組みを備えている。そのため、同様の ACL を ACL Builder でも定義するのは無駄である。
Related issues
Associated revisions
change the opDynamicAclRoute not to use ACL Builder if the ACL system of a model is usable (fixes #556)
refactored the opMemberAclBuilder to decrease duplicated code (refs #556)
History
#1
Updated by Kousuke Ebihara about 13 years ago
- Status changed from Accepted(着手) to Pending Review(レビュー待ち)
- % Done changed from 0 to 50
更新履歴commit:"9af9b69efe45603972719cc434edd42801ba23c9"で適用されました。
#2
Updated by Kousuke Ebihara almost 13 years ago
- Status changed from Pending Review(レビュー待ち) to Fixed(完了)
- % Done changed from 50 to 100