-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
LibraryPanels/RBAC: Fix issue where folder scopes weren't being correctly inherited #82700
Conversation
This PR must be merged before a backport PR will be created. |
1 similar comment
This PR must be merged before a backport PR will be created. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but would be good to add a test for library panels in the "general" folder.
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new branch
git switch --create backport-82700-to-v10.3.x origin/v10.3.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x 82e3e2e5582c49fa793cb9a0c143b7b76cbdfb58 When the conflicts are resolved, stage and commit the changes:
If you have the GitHub CLI installed: # Push the branch to GitHub:
git push --set-upstream origin backport-82700-to-v10.3.x
# Create the PR body template
PR_BODY=$(gh pr view 82700 --json body --template 'Backport 82e3e2e5582c49fa793cb9a0c143b7b76cbdfb58 from #82700{{ "\n\n---\n\n" }}{{ index . "body" }}')
# Create the PR on GitHub
echo "${PR_BODY}" | gh pr create --title "[v10.3.x] LibraryPanels/RBAC: Fix issue where folder scopes weren't being correctly inherited" --body-file - --label "type/bug" --label "area/backend" --label "add to changelog" --label "area/frontend/library-panels" --label "area/auth/rbac" --label "backport" --base v10.3.x --milestone 10.3.x --web Or, if you don't have the GitHub CLI installed (we recommend you install it!): # Push the branch to GitHub:
git push --set-upstream origin backport-82700-to-v10.3.x
# Create a pull request where the `base` branch is `v10.3.x` and the `compare`/`head` branch is `backport-82700-to-v10.3.x`.
# Remove the local backport branch
git switch main
git branch -D backport-82700-to-v10.3.x |
Fixes an issue where folder scopes were not being correctly inherited.