change permissions for edit