marceloschmitt / moodle-block_analytics_graphs

Learning analytics Moodle plugin - graphs to help teachers.
GNU General Public License v3.0
15 stars 17 forks source link

New capabilities #54

Open dmitriim opened 2 years ago

dmitriim commented 2 years ago

As long as a user can see block's content he can access few reports. Would be nice if we can have a capability for each for the available reports so we can control what role can see what.

Proposed capabilities:

marceloschmitt commented 2 years ago

Tell me a little bit more why a user that can see content access cannot see all the other graphs, for example.

trevwood-monash commented 2 years ago

Hi Marcelo, my institution's log table is pretty massive so the content/hits data fails to load (80k+ students per year) but there's a lot of value in assignment/grade reports (which do load) to academics so would be good to enable the reports that work with our db size but hide the others.

dmitriim commented 2 years ago

Hi @marceloschmitt Adding permissions will make the plugin much more flexible. Admins will be able to control who can see what. Generally it should work the same as it is now, but with a potential of hiding some specific reports for specific roles.

dmitriim commented 6 months ago

Hi @marceloschmitt

Any more thoughts on this one? Any chance you can have a look at proposed patch https://github.com/marceloschmitt/moodle-block_analytics_graphs/pull/55 ?

Thanks!