permissions for resources and test