|
|
|
MD said:
10:53 <moodler_> hmm plugins, we did something similar for grade import/expot (relating to fourth point above) closing this issue as resolved.
the outstanding thing about trying to figure out a way to enable or disable instances per role is trickier and not necessarily needed right now so i will open a separate bug for it. |
||||||||||||||||||||||||||||||||||||||||||||
- the calling code can check has_capability before calling portfolio_add_button
- add a new method in the caller class to check permissions
- name the capabilities consistently, eg mod/forum:export-post, mod/forum:export-attachment
- figure out a way to disable (or enable) plugin instances per role.