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

fix: folder and content creation permission checks #4548

Merged
merged 1 commit into from
Feb 20, 2025

Conversation

leopuleo
Copy link
Contributor

Changes

With this PR, we are improving how the folder permission is checked.
Before, both cancCreateFolder and canCreateContent were memoised using useMemo. Now we cache a function definition instead.

How Has This Been Tested?

Manually

@leopuleo leopuleo added this to the 5.42.1 milestone Feb 20, 2025
@leopuleo leopuleo requested a review from adrians5j February 20, 2025 08:14
@leopuleo leopuleo self-assigned this Feb 20, 2025
@leopuleo leopuleo merged commit 7d0cda3 into dev Feb 20, 2025
17 checks passed
@leopuleo leopuleo deleted the leo/fix/aco-flp-permissions-check branch March 5, 2025 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants