Added SecurityManager to check edit permissions of artifacts.