Assigns a badge to the specified members. The members inherit the badge's permissions when they receive the badge, if applicable. Badge permissions are added to previous member permissions (they don't replace existing permissions).
You can only call this method when authenticated as a Wix app or Wix user identity.