Some more code reorganization. Added a method to the AccessController so artifacts other than the current one can be checked.