Re: [PR] SOLR-16907: Reserve some 8.x security permission names [solr]

2023-11-07 Thread via GitHub
janhoy merged PR #2040: URL: https://github.com/apache/solr/pull/2040 -- 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...@solr.apache.org

Re: [PR] SOLR-16907: Reserve some 8.x security permission names [solr]

2023-11-07 Thread via GitHub
janhoy commented on PR #2040: URL: https://github.com/apache/solr/pull/2040#issuecomment-1798119014 @risdenk, @noblepaul Please have another look. Now the logic is * First look for well-known permission name (as before) * If **not** a well-known name, and `path` is not specified, fail w

Re: [PR] SOLR-16907: Reserve some 8.x security permission names [solr]

2023-11-02 Thread via GitHub
janhoy commented on code in PR #2040: URL: https://github.com/apache/solr/pull/2040#discussion_r1380254600 ## solr/core/src/java/org/apache/solr/security/Permission.java: ## @@ -52,18 +53,21 @@ static Permission load(Map m) { p.role = readValueAsSet(m, "role"); if (Per

Re: [PR] SOLR-16907: Reserve some 8.x security permission names [solr]

2023-11-01 Thread via GitHub
uschindler commented on PR #2040: URL: https://github.com/apache/solr/pull/2040#issuecomment-1789769580 Thanks for the change, looks fine. -- 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 spec

Re: [PR] SOLR-16907: Reserve some 8.x security permission names [solr]

2023-11-01 Thread via GitHub
uschindler commented on code in PR #2040: URL: https://github.com/apache/solr/pull/2040#discussion_r1379387924 ## solr/core/src/java/org/apache/solr/security/Permission.java: ## @@ -52,18 +53,21 @@ static Permission load(Map m) { p.role = readValueAsSet(m, "role"); if

Re: [PR] SOLR-16907: Reserve some 8.x security permission names [solr]

2023-11-01 Thread via GitHub
uschindler commented on code in PR #2040: URL: https://github.com/apache/solr/pull/2040#discussion_r1379387924 ## solr/core/src/java/org/apache/solr/security/Permission.java: ## @@ -52,18 +53,21 @@ static Permission load(Map m) { p.role = readValueAsSet(m, "role"); if

Re: [PR] SOLR-16907: Reserve some 8.x security permission names [solr]

2023-11-01 Thread via GitHub
uschindler commented on code in PR #2040: URL: https://github.com/apache/solr/pull/2040#discussion_r1379386158 ## solr/core/src/java/org/apache/solr/security/Permission.java: ## @@ -52,18 +53,21 @@ static Permission load(Map m) { p.role = readValueAsSet(m, "role"); if

Re: [PR] SOLR-16907: Reserve some 8.x security permission names [solr]

2023-11-01 Thread via GitHub
janhoy commented on code in PR #2040: URL: https://github.com/apache/solr/pull/2040#discussion_r1379365149 ## solr/core/src/java/org/apache/solr/security/Permission.java: ## @@ -52,18 +53,21 @@ static Permission load(Map m) { p.role = readValueAsSet(m, "role"); if (Per

Re: [PR] SOLR-16907: Reserve some 8.x security permission names [solr]

2023-11-01 Thread via GitHub
uschindler commented on PR #2040: URL: https://github.com/apache/solr/pull/2040#issuecomment-1789319269 I font know internals of how the permissions work, so I only checked the code under the assumption that you know what a correct permission name looks like. Maybe cross check with @risdenk

Re: [PR] SOLR-16907: Reserve some 8.x security permission names [solr]

2023-11-01 Thread via GitHub
uschindler commented on code in PR #2040: URL: https://github.com/apache/solr/pull/2040#discussion_r1379023438 ## solr/core/src/java/org/apache/solr/security/Permission.java: ## @@ -160,7 +164,12 @@ public String toString() { return Utils.toJSONString(originalConfig); }

Re: [PR] SOLR-16907: Reserve some 8.x security permission names [solr]

2023-11-01 Thread via GitHub
janhoy commented on PR #2040: URL: https://github.com/apache/solr/pull/2040#issuecomment-1789075290 > In the issue you wanted to add a warning of an unknown permission occurred. Should we add this, too? Agree. The updated PR now instead of maintaining a list of old "reserved" permiss

Re: [PR] SOLR-16907: Reserve some 8.x security permission names [solr]

2023-10-24 Thread via GitHub
uschindler commented on PR #2040: URL: https://github.com/apache/solr/pull/2040#issuecomment-1777919120 In the issue you wanted to add a warning of an unknown permission occurred. Should we add this, too? -- This is an automated message from the Apache Git Service. To respond to the messa