Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission engine is resolving other nodes #4644

Open
exalate-issue-sync bot opened this issue Oct 16, 2024 · 0 comments
Open

Permission engine is resolving other nodes #4644

exalate-issue-sync bot opened this issue Oct 16, 2024 · 0 comments
Assignees
Labels
group/backend Issue related to the backend (API Server, Git Agent) state/planned This issue is planned to be worked on in an upcoming release.

Comments

@exalate-issue-sync
Copy link

If a user has a permission to allow everything only on 1 node (for example the tag), when requesting the object details with the source of the description, there is a permission error mentionning the IPPrefixPool

Permissions: {{object:main:Builtin:Tag:ayn:allow}}

Query:

{noformat}query BuiltinTag {
BuiltinTag(ids: ["17fd0f03-84f4-4a6f-3674-c512a4a0503c"]) {
edges {
node {
id
description {
source {
id
}
}
}
}
}
}{noformat}

Response:

{noformat}{
"data": null,
"errors": [
{
"message": "You do not have the following permission: object:main:Core:IPPrefixPool:view:allow",
"extensions": {
"code": 403
}
}
]
}{noformat}

@exalate-issue-sync exalate-issue-sync bot added the group/backend Issue related to the backend (API Server, Git Agent) label Oct 16, 2024
@exalate-issue-sync exalate-issue-sync bot added this to the Infrahub - 1.0 milestone Oct 16, 2024
@exalate-issue-sync exalate-issue-sync bot added the state/planned This issue is planned to be worked on in an upcoming release. label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent) state/planned This issue is planned to be worked on in an upcoming release.
Projects
None yet
Development

No branches or pull requests

1 participant