You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "binarycat0 (via GitHub)" <gi...@apache.org> on 2025/11/03 17:07:15 UTC
[I] `federated` property is ignore for PrincipalRole object in CreatePrincipalRoleRequest [polaris]
binarycat0 opened a new issue, #2966:
URL: https://github.com/apache/polaris/issues/2966
### Describe the bug
While trying to create a Catalog role with federated property = true an object creates with federated property = false.
```
curl -X 'POST' 'http://localhost:8181/api/management/v1/principal-roles' -H 'accept: application/json' -H 'Content-Type: application/json' -H "Authorization: Bearer $TOKEN" -H "Polaris-Realm: POLARIS" -d '{"principalRole": {"name": "test1","federated": true}}' | jq
{
"name": "test1",
"federated": false,
"properties": {},
"createTimestamp": 1762186225648,
"lastUpdateTimestamp": 1762186225648,
"entityVersion": 1
}
```
### To Reproduce
1. `curl -X 'POST' 'http://localhost:8181/api/management/v1/principal-roles' -H 'accept: application/json' -H 'Content-Type: application/json' -H "Authorization: Bearer $TOKEN" -H "Polaris-Realm: POLARIS" -d '{"principalRole": {"name": "test1","federated": true}}'`
2. check response `{"name":"test1","federated":false,"properties":{},"createTimestamp":1762186225648,"lastUpdateTimestamp":1762186225648,"entityVersion":1}`
3. "federated":false
4. check list `curl -X 'GET' 'http://localhost:8181/api/management/v1/principal-roles' -H 'accept: application/json' -H 'Content-Type: application/json' -H "Authorization: Bearer $TOKEN" -H "Polaris-Realm: POLARIS"`
### Actual Behavior
New Principal Role creates with federated = false
### Expected Behavior
New Principal Role should have the provided value, as federated = true
### Additional context
_No response_
### System information
apache-polaris-1.2.0-incubating
--
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-unsubscribe@polaris.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [BUG] `federated` property is ignore for PrincipalRole object in CreatePrincipalRoleRequest [polaris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #2966:
URL: https://github.com/apache/polaris/issues/2966#issuecomment-3939931900
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment if you think it's still relevant.
--
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-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [BUG] `federated` property is ignore for PrincipalRole object in CreatePrincipalRoleRequest [polaris]
Posted by "dimas-b (via GitHub)" <gi...@apache.org>.
dimas-b closed issue #2966: [BUG] `federated` property is ignore for PrincipalRole object in CreatePrincipalRoleRequest
URL: https://github.com/apache/polaris/issues/2966
--
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-unsubscribe@polaris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org