Assign permissions.