added button delete copy, fixed setting allowed paths to role