Revision as of 15:42, 6 July 2006 by D'Arcy Norman (talk | contribs) (legacy support for isstudent() and isteacher())

Jump to: navigation, search

The list of capabilities for some activities should include viewing as a separate capability since it is a distinct action from editing or taking part, for example


legacy support for isstudent() and isteacher()

We could provide legacy support for modules (and core) to continue using isstudent() and isteacher() calls, by replacing these with stubs that simply wrap the new access control API and feed in the proper parameters. This might help reduce the initial effort (i.e., you don't HAVE to update every. single. module. at first, just the ones most affected by this API change. then, as time allows, and as modules are being updated anyway, migrate them to the new API)