We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
canUserEditOrganization
isUserTheOrganizationOwner
1 parent bc8b8aa commit b456414Copy full SHA for b456414
index.ts
@@ -666,8 +666,6 @@ addTests('isRepositoryActions', [
666
]);
667
668
export const isUserTheOrganizationOwner = (): boolean => isOrganizationProfile() && exists('[aria-label="Organization"] [data-tab-item="org-header-settings-tab"]');
669
-/** @deprecated use isUserTheOrganizationOwner instead */
670
-export const canUserEditOrganization = isUserTheOrganizationOwner;
671
672
export const canUserEditRepo = (): boolean => isRepo() && exists('.reponav-item[href$="/settings"], [data-tab-item$="settings-tab"]');
673
0 commit comments