set end date made permission based