Closed dmitriim closed 10 months ago
There is a capability block/massaction:use that let users to use the block, however it's only checked in one spot https://github.com/Syxton/moodle-block_massaction/blob/master/action.php#L42
Would be much better UX if we check this capability before even rendering content so users without require permissions don't event see block.
I made PR #93 for this issue. Please review and merge if it's ok.
merged in both branches. Thank you for your work on this!
There is a capability block/massaction:use that let users to use the block, however it's only checked in one spot https://github.com/Syxton/moodle-block_massaction/blob/master/action.php#L42
Would be much better UX if we check this capability before even rendering content so users without require permissions don't event see block.