cakephp:$ this-> auth-> auth()および$ this-> auth-> aotadactions() - いつ使用しますか? [複製

StackOverflow https://stackoverflow.com/questions/3838262

  •  27-09-2019
  •  | 
  •  

質問

可能な複製:
authcomponent:許可とlow()の違い?

メソッドの使用の違いは何ですか

$this->Auth->allow()

変数を設定します

$this->Auth->allowedActions ?

許可アレイの設定に関する情報が見つかりません。http://book.cakephp.org/view/1251/setting-auth-component-variables) - ただし、APIに存在します http://api13.cakephp.org/class/auth-component.

誰かが私がそれらを使用すべきさまざまな状況を説明してもらえますか?

役に立ちましたか?

解決

これを参照してください authcomponent:許可とlow()の違い?

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top