Syxton / moodle-block_massaction

THE OFFICIAL Mass Actions block for Moodle 3.9 and beyond
9 stars 14 forks source link

A new setting to enable disable/enable parts of the functionality #88

Closed dmitriim closed 10 months ago

dmitriim commented 1 year ago

We have a case when a client wants to allow some part of the functionality of the block, but not another. E.g. allow to move inside a course, but not to another course and etc.

image

That could be done in two ways:

  1. Use extra capabilities for each part of the functionality
  2. Use add extra global settings for each pat of the functionality

Capability part of much more flexible as you can configure it for specific roles. E.g. teaches can only move inside courses, but admin can do everything.

I saw that functional already hidden behind core capabilities, but this is not flexible enough.

TomoTsuyuki commented 1 year ago

It looks more options for current version

image

PhMemmel commented 1 year ago

Yes and no. There are 2 more for this version. Which are shown however, is based on capabilities and for example, if the course format used supports indentation. That's why there is a big difference in the both screenshots.

TomoTsuyuki commented 1 year ago

I made PR #94 for this issue. Please review and merge if it's ok.

Syxton commented 10 months ago

merged in both branches. Thank you for your work on this!