Set template based on user permission