I'm working on Moodle 2.7 and I've been trying to change some of the capabilities in a module I'm building.
The change was in some of the archetypes in access.php
After a couple of times of editing the file, increasing and module version and running Moodle's upgrade without any results I looked at the code and found out the bad news.
Looks like there's no way the change the archetypes content of the capabilities after they've been added during the module's initial installation.
My question is, is there a way to make Moodle update the changes in the file? So far I haven't found an existing solution.