FIX: _getPrivilegesForRole has not always returned an array