CRM-20600 - civicrm/a - Avoid dirty caches for permissioned modules
authorTim Otten <totten@civicrm.org>
Fri, 19 May 2017 01:52:47 +0000 (18:52 -0700)
committerTim Otten <totten@civicrm.org>
Sat, 17 Jun 2017 02:03:47 +0000 (19:03 -0700)
commitfe1581280bb46b877dac8c5a0cd07bcd0e85e15e
tree0c0227561e8fe8ef24987ccf5c532b180acf1fcb
parent53d0084104da7d8b842e2385a12805e212c1542f
CRM-20600 - civicrm/a - Avoid dirty caches for permissioned modules

The default behavior is to include a `bundleUrl` for a bundle of "all
Angular modules".  However, some Angular modules like `crmMailing` are only
displayed if the current user has permission to access them.  This means
that the list of "all Angular modules" can be different (depending on who
you are; albeit in practice there's a small# of permutations).

This patch ensures that two users who access a different list of modules
will see a different `bundleUrl`.
Civi/Angular/Page/Main.php