chore: Removing the hook for create actions permission#39470
chore: Removing the hook for create actions permission#39470ankitakinger merged 1 commit intoreleasefrom
Conversation
WalkthroughThis pull request removes the custom Changes
Sequence Diagram(s)sequenceDiagram
participant Component
participant FeatureFlag
participant Redux
participant PermissionHelper
Component->>FeatureFlag: check FEATURE_FLAG.license_gac_enabled
FeatureFlag-->>Component: returns isEnabled (boolean)
Component->>Redux: select pagePermissions
Redux-->>Component: returns pagePermissions
Component->>PermissionHelper: getHasCreateActionPermission(isEnabled, pagePermissions)
PermissionHelper-->>Component: returns permission (boolean)
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (4)
💤 Files with no reviewable changes (2)
⏰ Context from checks skipped due to timeout of 90000ms (4)
🔇 Additional comments (4)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
…9470) ## Description Removing the hook for create actions permission as its no longer required. Fixes [appsmithorg#39035](appsmithorg#39035) ## Automation /ok-to-test tags="@tag.Datasource, @tag.JS" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/13561142790> > Commit: 7a64f7b > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13561142790&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.Datasource, @tag.JS` > Spec: > <hr>Thu, 27 Feb 2025 08:40:44 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Updated the logic for evaluating permissions when creating actions within the Integrated Development Environment. - Replaced the previous approach with a refined method that combines feature flag checks and current page permissions for more granular and consistent user access control. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Description
Removing the hook for create actions permission as its no longer required.
Fixes #39035
Automation
/ok-to-test tags="@tag.Datasource, @tag.JS"
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/13561142790
Commit: 7a64f7b
Cypress dashboard.
Tags:
@tag.Datasource, @tag.JSSpec:
Thu, 27 Feb 2025 08:40:44 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit