kaltura / moodle_plugin

8 stars 37 forks source link

Add capabilities to control the Kaltura button in HTML editors #379

Open estevebadia opened 1 year ago

estevebadia commented 1 year ago

This PR adds capabilities to TinyMCE and Atto plugins so that the Kaltura button is shown only for those users with required capability. By default, the capability is enabled in all role archetypes from student to manager so there shouldn't be any backwards compatibility issues.

Concretely:

/lib/editor/tinymce/plugins/kalturamedia

/lib/editor/atto/plugins/kalturamedia

Note that this PR implements the same feature than #356 but this one also adds the symmetric feature for tinymce plugin.

Are you interested in this feature?

Note: I'm contributing to this repo for the first time, please guide me on the way to proceed!

kaltura-hooks commented 1 year ago

Hi @estevebadia, Thank you for contributing this pull request! Please sign the Kaltura CLA so we can review and merge your contribution. Learn more at http://bit.ly/KalturaContrib

estevebadia commented 1 year ago

Hi, Just signed the CLA