fixing allowed roles for <a>

fixes Bug 24253