finish permission for edit