This branch introduces some important SQL optimizations, which drastically reduce the number of database records required for sites with a large number of terms and roles. The admin interface has been updated to allow you to keep your access rules lean and mean.
The changes should ease administration, make some queries faster, and have certainly made the code simpler. The important stuff seems to be working, but please test your rules carefully and report any anomalies (include a simple example of an access scheme which doesn't behave as expected so that we can replicate).
Solved a bug that appeared after the latest bug fix that solved the internal links but broke the external ones.
Added a check so if all the alinks are pointing to the current page the all replace process is skipped.