changing permissions on module