GUI-1207: Customize permission choices in sharing panel based on bucket/object type