fix_rights edit