Identity related warnings when updating permission config
Open
Nobody has claimed this yet.
bug
- Dominant language
- Go
- Stars
- 47
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
Preflight checklist
- I could not find a solution in the existing issues, docs, nor discussions.
- I agree to follow this project's Code of Conduct.
- I have read and am following this repository's Contribution Guidelines.
- This issue affects my Ory Cloud project.
- I have joined the Ory Community Slack.
- I am signed up to the Ory Security Patch Newsletter.
Describe the bug
ory patch permission-config e834d575-2f37-4482-903d-d6e789e91c8a \
--add '/namespaces/-={"id": 0, "name": "resources"}' \
--add '/namespaces/-={"id": 1, "name": "groups"}'
You are authenticated as: patrik@ory.sh
map[limit:map[] namespaces:[map[id:0 name:resources] map[id:1 name:groups]]]
Warnings were found.
- Configuration key `serve.*` can not be set and will be ignored.
- Configuration key `cookies.path` can not be set and will be ignored.
- Configuration key `cookies.domain` can not be set and will be ignored.
- Configuration key `session.cookie.domain` can not be set and will be ignored.
- Configuration key `session.cookie.name` can not be set and will be ignored.
- Configuration key `session.cookie.path` can not be set and will be ignored.
It is save to ignore these warnings unless your intention was to set these keys.
produces unrelated warnings.
Reproducing the bug
see above
Relevant log output
No response
Relevant configuration
No response
Version
v0.1.34
On which operating system are you observing this issue?
No response
In which environment are you deploying?
No response
Additional Context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the ory patch permission-config command from the issue with the shown --add arguments and inspect where its warnings are generated. Trace why unrelated serve.*, cookies.*, and session.cookie.* keys are reported during a permission-config update; done means the command no longer emits those warnings unless they are relevant.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100