collado-mike commented on code in PR #1353:
URL: https://github.com/apache/polaris/pull/1353#discussion_r2073764168


##########
spec/polaris-management-service.yml:
##########
@@ -1105,6 +1105,30 @@ components:
       required:
         - name
 
+    Principal:
+      description: A Polaris principal.
+      type: object
+      allOf:
+        - $ref: '#/components/schemas/BasePrincipal'
+        - type: object
+          properties:
+            clientId:
+              type: string
+              description: The output-only OAuth clientId associated with this 
principal if applicable
+
+    FederatedPrincipal:
+      description: A federated Polaris principal.
+      type: object
+      allOf:
+        - $ref: '#/components/schemas/BasePrincipal'
+        - type: object
+          properties:
+            federated:

Review Comment:
   > I'd prefer to just add a simple new federated property to the single 
Principal type in the API spec.
   
   That's what I had in the first revision ☹️ It is my preference as well, as 
it's simple and straightforward to implement. There's really no difference in 
the backend (especially, as we don't persist the federated principals). I'm 
happy to revert to the original revision, but I'd like to avoid any more back 
and forth



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@polaris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to