Fix permission checks for non admin users #2366
Conversation
Some components were using wrong permission values, so non-admin users could never get to do those actions. Refs #2358
Could you please replace the |
Sure thing, I was looking so much into writing the right permissions that I didn't even look at that |
This time they were using the `IfPermitted` component
Use IfPermitted in previously changed files when possible.
I have replaced most of the We could clone the children elements given to |
* Fix permission checks for non admin users Some components were using wrong permission values, so non-admin users could never get to do those actions. Refs #2358 * Fix another couple of broken permissions This time they were using the `IfPermitted` component * Replace isPermitted with IfPermitted Use IfPermitted in previously changed files when possible. (cherry picked from commit bb5a1ab)
Some components were using wrong permission values in checks, so non-admin users could never get to do those actions.
Original issue: #2358
The changes should also be merged into 2.0, I already checked they apply cleanly.