Originally created by @yasalmasri on GitHub (Sep 7, 2025).
Bug Description
Trying to add user to a resource through Pangolin API with root API Key, but it returns HTTP status code 403 with error message: Key does not have access to this organization, I tried to replicate the same request with organization API Key and it works with no error.
Originally created by @yasalmasri on GitHub (Sep 7, 2025).
## Bug Description
Trying to add user to a resource through Pangolin API with root API Key, but it returns HTTP status code 403 with error message: `Key does not have access to this organization`, I tried to replicate the same request with organization API Key and it works with no error.
## Steps to Reproduce
- Create Root API Key with all permissions.
- Make this request:
```bash
curl -X POST 'https://pangolin.domain.com/v1/resource/17/users' \
--header 'Content-Type: application/json' \
--data '{
"userIds": [
"USER_ID"
]
}' \
--header 'Authorization: Bearer ROOT_API_KEY'
```
- Response received:
```json
{
"data": null,
"success": false,
"error": true,
"message": "Key does not have access to this organization",
"status": 403,
"stack": null
}
```
## Actual Behavior
API request returns http status code 403.
## Expected Behavior
API request should return 201 and user should be added to resource.
## Environment
Pangolin Version: 1.9.4
Deployment: Docker (fosrl/pangolin)
OS: Ubuntu 24.10
@oschwartz10612 commented on GitHub (Sep 7, 2025):
Thanks for pointing this out! This will be fixed in the next release by 64722617c1
@oschwartz10612 commented on GitHub (Sep 7, 2025):
Thanks for pointing this out! This will be fixed in the next release by
64722617c1481f0694047ce250e5ab9945c10b2d
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @yasalmasri on GitHub (Sep 7, 2025).
Bug Description
Trying to add user to a resource through Pangolin API with root API Key, but it returns HTTP status code 403 with error message:
Key does not have access to this organization, I tried to replicate the same request with organization API Key and it works with no error.Steps to Reproduce
Actual Behavior
API request returns http status code 403.
Expected Behavior
API request should return 201 and user should be added to resource.
Environment
Pangolin Version: 1.9.4
Deployment: Docker (fosrl/pangolin)
OS: Ubuntu 24.10
@oschwartz10612 commented on GitHub (Sep 7, 2025):
Thanks for pointing this out! This will be fixed in the next release by
64722617c1