Problem with the name of moodle/block:edit capability?

Re: Problem with the name of moodle/block:edit capability?

David Mudrák - මගින්
Number of replies: 0
Core developers ගේ පින්තුරය Documentation writers ගේ පින්තුරය Moodle HQ ගේ පින්තුරය Particularly helpful Moodlers ගේ පින්තුරය Peer reviewers ගේ පින්තුරය Plugin developers ගේ පින්තුරය Plugins guardians ගේ පින්තුරය Testers ගේ පින්තුරය Translators ගේ පින්තුරය

this permission is used in blocks/moodleblock.class.php to define the function user_can_addto($page)

Yes, but not only there. Please also refer to other places where the capability is checked such as the user_can_edit() method there. Also https://docs.moodle.org/en/Capabilities/moodle/block:edit

There are block type level block/xyz:addinstance and block/xyz:myaddinstance capabilities that control adding new block instances.

ශ්‍රේණිගත කිරීම්වල සාමාන්යය: -