プロジェクト

全般

プロフィール

Enhancement(機能追加・改善) #556

Change opDynamicAclRoute not to use ACL Builder if the protected model class implements opAccessControlRecordInterface (opDynamicAclRoute で保護するモデルクラスが opAccessControlRecordInterface を実装している場合は ACL Builder を使わないようにする)

Kousuke Ebihara約14年前に追加. 約14年前に更新.

ステータス:
Fixed(完了)
優先度:
Normal(通常)
担当者:
対象バージョン:
開始日:
2010-02-02
期日:
進捗率:

100%


説明

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 でも定義するのは無駄である。


関連するチケット

関連している OpenPNE 3 - Bug(バグ) #3213: opAccessControlRecordInterface は isAllowed() メソッドを実装していることを保証していない New(新規) 2012-09-27

関係しているリビジョン

リビジョン 9af9b69e (差分)
Kousuke Ebihara約14年前に追加

change the opDynamicAclRoute not to use ACL Builder if the ACL system of a model is usable (fixes #556)

リビジョン e6deaa66 (差分)
Kousuke Ebihara約14年前に追加

refactored the opMemberAclBuilder to decrease duplicated code (refs #556)

履歴

#1 Kousuke Ebihara約14年前に更新

  • ステータスAccepted(着手) から Pending Review(レビュー待ち) に変更
  • 進捗率0 から 50 に変更

更新履歴commit:"9af9b69efe45603972719cc434edd42801ba23c9"で適用されました。

#2 Kousuke Ebihara約14年前に更新

  • ステータスPending Review(レビュー待ち) から Fixed(完了) に変更
  • 進捗率50 から 100 に変更

他の形式にエクスポート: Atom PDF