Add license and trim permissions