CakePHP CakeDC用户插件permision无法正常工作

时间:2017-10-10 14:24:56

标签: cakephp cakedc

我遇到的问题是" cakeDC users"插件不能与bypassAuth一起使用,我会举例说明它应该如何实现。

我的代码:

return [
'CakeDC/Auth.permissions' => [
     [
       'controller' => 'test',
      'action' => ['index'],
      'bypassAuth' => 'true',
    ],....

提前致谢。

1 个答案:

答案 0 :(得分:1)

您需要设置progressBar.progressProperty().bind(Bindings.createDoubleBinding( () -> Math.max(0, task1.getProgress()) / 2 + Math.max(0, task2.getProgress()) /2 , task1.progressProperty(), task2.progressProperty()); ,因为期望的类型是boolean | null,而不是字符串。