Title: Fix group policy cache · Issue #2877 · PowerShell/PowerShell · GitHub
Open Graph Title: Fix group policy cache · Issue #2877 · PowerShell/PowerShell
X Title: Fix group policy cache · Issue #2877 · PowerShell/PowerShell
Description: The internal Group Policy cache does not use a unique key and ends up returning MachinePolicy ExecutionPolicy for a UserPolicy query. Update the cache code to use a fully unique key. Investigate using a Tuple instead of concatenated stri...
Open Graph Description: The internal Group Policy cache does not use a unique key and ends up returning MachinePolicy ExecutionPolicy for a UserPolicy query. Update the cache code to use a fully unique key. Investigate us...
X Description: The internal Group Policy cache does not use a unique key and ends up returning MachinePolicy ExecutionPolicy for a UserPolicy query. Update the cache code to use a fully unique key. Investigate us...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/2877
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fix group policy cache","articleBody":"The internal Group Policy cache does not use a unique key and ends up returning MachinePolicy ExecutionPolicy for a UserPolicy query. \r\n\r\nUpdate the cache code to use a fully unique key.\r\n\r\nInvestigate using a Tuple instead of concatenated string for the cache key to improve performance.\r\n\r\n\r\n\r\nSteps to reproduce\r\n------------------\r\nSet Group Policy UserPolicy, ExecutionPolicy to RemoteSigned\r\nStart new PowerShell session\r\nRun 'Get-ExecutionPolicy -List'\r\n\r\nExpected behavior\r\n-----------------\r\nExecutionPolicy UserPolicy set to RemoteSigned\r\n\r\nActual behavior\r\n---------------\r\nExecutionPolicy UserPolicy set to Undefined\r\n\r\n","author":{"url":"https://github.com/PaulHigin","@type":"Person","name":"PaulHigin"},"datePublished":"2016-12-13T16:25:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/2877/PowerShell/issues/2877"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3b4ee6b6-fcaa-84ee-5c6a-4d12b7e41eab |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C9FA:397EC8:48A9FF:6A9DA9:6A560CDD |
| html-safe-nonce | 3ee89a8bfe9c98fbecd5cde0b37837c6d1fd5a977918b1451db00e24e5a672c6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUZBOjM5N0VDODo0OEE5RkY6NkE5REE5OjZBNTYwQ0REIiwidmlzaXRvcl9pZCI6IjUwMTgwNTQ0NDExMTY3NjU0MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4b4fb7cdccd7659d100c4d75e40e52c89b4972413d49fb706dd3bfe4dfa9cbbb |
| hovercard-subject-tag | issue:195299564 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/2877/issue_layout |
| twitter:image | https://opengraph.githubassets.com/96f9638e58c452125981db2ed2ea8a5d1eb73fcc748707a5f9da3a2576767e48/PowerShell/PowerShell/issues/2877 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/96f9638e58c452125981db2ed2ea8a5d1eb73fcc748707a5f9da3a2576767e48/PowerShell/PowerShell/issues/2877 |
| og:image:alt | The internal Group Policy cache does not use a unique key and ends up returning MachinePolicy ExecutionPolicy for a UserPolicy query. Update the cache code to use a fully unique key. Investigate us... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PaulHigin |
| hostname | github.com |
| expected-hostname | github.com |
| None | f4368738fc918fecd9b3958f6b49218bbe60d4185f38e72e3954e11f1ad0213a |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 85a7179838b41e8b23f939d3b67b53f752ecfc54 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width