Fix permissions. Add entity_type

Add valid example of rich-licence