fluxapps / LiveVoting

ILIAS LiveVoting plugin
https://fluxlabs.ch
15 stars 21 forks source link

fix rbacreview problem #29

Closed okaufman closed 4 years ago

okaufman commented 4 years ago

A second UI-Component plugin on our installation uses the function isAssignedToAtLeastOneGivenRole() on the xlvoRbacReview mock. Since this mock is set as the global RbacReview, there is always an error when opening the pin.php. The problem is solved by adding that function to the mock, like in this commit.

theodortruffer commented 4 years ago

@okaufman thanks for the PR. I just checked and it should be fixed by now (just a little bit differently than your version): https://github.com/studer-raimann/LiveVoting/commit/f2a22589d8e126e0766ed8bbec9e970d2968fb43

I'm closing this PR, tell me if you're still having problems.