PromucFlow_constructor/app/client/src/pages/Editor
Rudraprasad Das 663d5cae06
fix: adding git admin permissions (#28719)
## Description
- Derives isGitAdmin from workspace permissions
- Disables connect to git if not git admin
- Disables disconnect, default branch and branch protection if not git
admin

#### PR fixes following issue(s)
Fixes #28020 

#### Media
<img width="1728" alt="image"
src="https://github.com/appsmithorg/appsmith/assets/8724051/22d133e6-4836-4184-86ce-c2ab1eff26c5">

#### Type of change
- New feature (non-breaking change which adds functionality)

## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [x] Manual
- [ ] JUnit
- [ ] Jest
- [ ] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
2023-11-08 15:26:45 +05:30
..
__tests__ feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
APIEditor fix: schema preview data ui changed for sql, postgres, mongo (#28156) 2023-10-25 15:48:05 +05:30
AppSettingsPane chore: [App Sidebar] Data Pane (#28248) 2023-10-24 15:28:21 +05:30
CanvasLayoutConversion chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
CanvasPropertyPane fix: Fix widget name canvas issues (#28314) 2023-10-25 11:10:43 +05:30
commons chore: Add IDE side pane and manage navigation (#28063) 2023-10-18 12:44:10 +05:30
CommunityTemplates/Modals fix: Updates community templates guide link (#28398) 2023-10-31 19:22:46 +05:30
DataSourceEditor feat: Show generate page on Datasource Page (#28686) 2023-11-08 14:35:52 +05:30
DatasourceInfo fix: wrong sheet preview data on selecting different spreadsheet (#28662) 2023-11-07 16:56:57 +05:30
EditorName feat: branch protection (#28526) 2023-11-03 22:43:36 +05:30
EntityNavigation feat: open ai feature request (#28295) 2023-11-03 11:20:34 +07:00
Explorer [Chore]: App Sidebar Library Pane (#28332) 2023-11-03 10:54:58 +05:30
FirstTimeUserOnboarding feat: replace blank canvas with starter templates. (#28284) 2023-10-30 11:15:05 +05:30
GeneratePage chore: add analytics event for query failure post schema fetch pass (#28574) 2023-11-07 16:27:19 +05:30
gitSync fix: adding git admin permissions (#28719) 2023-11-08 15:26:45 +05:30
GlobalHotKeys fix: git branch protection fixes (#28667) 2023-11-07 20:25:02 +05:30
GuidedTour chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
IDE feat: branch protection (#28526) 2023-11-03 22:43:36 +05:30
IntegrationEditor feat: open ai feature request (#28295) 2023-11-03 11:20:34 +07:00
JSEditor chore: CE change for moduleInstanceEditor route (#28110) 2023-10-18 10:48:17 +05:30
MultiSelectPropertyPane changes in evaluation for EE - split (#27144) 2023-09-12 17:21:39 +05:30
NavigationSettings chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
PropertyPane feat: reduce walkthrough delay to 2.5s (#27951) 2023-10-13 11:32:59 +05:30
QueryEditor fix: gsheet preview data UI using tabs for preview and configuration (#28318) 2023-11-03 19:15:00 +05:30
SaaSEditor fix: gsheet preview data UI using tabs for preview and configuration (#28318) 2023-11-03 19:15:00 +05:30
ThemePropertyPane chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00
WidgetsEditor fix: git branch protection fixes (#28667) 2023-11-07 20:25:02 +05:30
ActionSettings.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
AppsmithLink.tsx chore: Refactoring code for entity explorer on app editor to support package editor (#27844) 2023-10-11 19:41:07 +05:30
Canvas.tsx feat: branch protection (#28526) 2023-11-03 22:43:36 +05:30
EditorHeader.test.tsx feat: disallow collapsing sidebar when signposting is enabled (#24938) 2023-07-11 17:19:27 +05:30
EditorHeader.tsx fix: git branch protection fixes (#28667) 2023-11-07 20:25:02 +05:30
EditorSaveIndicator.tsx chore: Refactoring editor app name component for modules (#28055) 2023-10-16 14:37:39 +05:30
EditorShareButton.tsx chore: Refactoring code for entity explorer on app editor to support package editor (#27844) 2023-10-11 19:41:07 +05:30
EntityNotFoundPane.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
FormConfig.tsx feat: [epic] appsmith design system version 2 deduplication (#22030) 2023-05-20 00:07:06 +05:30
FormControl.tsx changes in evaluation for EE - split (#27144) 2023-09-12 17:21:39 +05:30
HelpBarInHeader.tsx feat: branch protection (#28526) 2023-11-03 22:43:36 +05:30
HelpButton.tsx feat: remove cloudHosting conditional check, change version name (#28086) 2023-10-15 02:11:29 +05:30
index.tsx [Chore]: App Sidebar Library Pane (#28332) 2023-11-03 10:54:58 +05:30
loader.tsx chore:add eslint rules (#27878) 2023-10-09 16:54:06 +03:00
MainContainerWidthToggles.test.tsx chore: Rename and cleanup of editor components (#26944) 2023-09-12 19:44:02 +05:30
MainContainerWidthToggles.tsx chore: Rename and cleanup of editor components (#26944) 2023-09-12 19:44:02 +05:30
Popper.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
PropertyPaneHelpButton.tsx chore: Move the widget config to widget class (#26073) 2023-09-06 17:45:04 +05:30
RealtimeAppEditors.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
RequestConfirmationModal.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
ShareApplicationForm.tsx chore: upgrade to prettier v2 + enforce import types (#21013)Co-authored-by: Satish Gandham <hello@satishgandham.com> Co-authored-by: Satish Gandham <satish.iitg@gmail.com> 2023-03-16 17:11:47 +05:30
ToggleModeButton.tsx chore: update preview button to make use of toggle (#26822) 2023-08-31 14:44:50 +05:30
utils.ts chore: route builder refactor (#27905) 2023-10-12 11:01:22 +05:30
WidgetCard.tsx fix: Anvil Editor issues with Resizer in safari (#28361) 2023-10-26 10:07:06 +05:30
WidgetCardsPane.tsx chore: add consistent-type-definitions rule (#27907) 2023-10-11 10:35:24 +03:00
WidgetsEditorEntityExplorer.tsx [Chore]: App Sidebar Library Pane (#28332) 2023-11-03 10:54:58 +05:30
WidgetSidebarWithTags.tsx chore: skip signposting discovery test (#27892) 2023-10-17 17:32:05 +05:30