mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-16 19:11:39 -04:00
add securable settings (#22936)
* wip * Update typings * nullable * update test service * support securables * updata test data * fix issues * fix build failure * update test mocks * fix typo * fix reference * fix findobjectdialog issue * update SearchResultItem type * fix table component perf issue * hide effective permission for server role * hide effective permission for app role and db role * vbump sts and fix a couple issues * STS update and UI update * fix user login display issue * vbump sts
This commit is contained in:
@@ -30,9 +30,22 @@ export const RenameObjectDialogTitle: string = localize('objectManagement.rename
|
||||
export const OwnerText: string = localize('objectManagement.ownerText', "Owner");
|
||||
export const BrowseText = localize('objectManagement.browseText', "Browse…");
|
||||
export const BrowseOwnerButtonAriaLabel = localize('objectManagement.browseForOwnerText', "Browse for an owner");
|
||||
export const AddMemberAriaLabel = localize('objectManagement.addMemberText', "Add a member");
|
||||
export const AddMemberAriaLabel = localize('objectManagement.addMembersText', "Add members");
|
||||
export const RemoveMemberAriaLabel = localize('objectManagement.removeMemberText', "Remove selected member");
|
||||
export const AddSecurableAriaLabel = localize('objectManagement.addSecurablesText', "Add securables");
|
||||
export const RemoveSecurableAriaLabel = localize('objectManagement.removeSecurablesText', "Remove selected securable");
|
||||
export const SecurablesText = localize('objectManagement.securablesText', "Securables");
|
||||
export const ExplicitPermissionsTableLabel = localize('objectManagement.explicitPermissionsTableLabel', "Explicit permissions for selected securable");
|
||||
export const EffectivePermissionsTableLabel = localize('objectManagement.effectivePermissionsTableLabel', "Effective permissions for selected securable");
|
||||
export const PermissionColumnHeader = localize('objectManagement.permissionColumnHeader', "Permission");
|
||||
export const GrantorColumnHeader = localize('objectManagement.grantorColumnHeader', "Grantor");
|
||||
export const GrantColumnHeader = localize('objectManagement.grantColumnHeader', "Grant");
|
||||
export const WithGrantColumnHeader = localize('objectManagement.withGrantColumnHeader', "With Grant");
|
||||
export const DenyColumnHeader = localize('objectManagement.denyColumnHeader', "Deny");
|
||||
export const SelectSecurablesDialogTitle = localize('objectManagement.selectSecurablesDialogTitle', "Select Securables");
|
||||
|
||||
export function ExplicitPermissionsTableLabelSelected(name: string): string { return localize('objectManagement.explicitPermissionsTableLabelSelected', "Explicit permissions for: {0}", name); }
|
||||
export function EffectivePermissionsTableLabelSelected(name: string): string { return localize('objectManagement.effectivePermissionsTableLabelSelected', "Effective permissions for: {0}", name); }
|
||||
|
||||
export function RefreshObjectExplorerError(error: string): string {
|
||||
return localize({
|
||||
@@ -133,12 +146,15 @@ export const LoginNotSelectedError = localize('objectManagement.loginNotSelected
|
||||
export const MembershipSectionHeader = localize('objectManagement.membershipLabel', "Membership");
|
||||
export const MemberSectionHeader = localize('objectManagement.membersLabel', "Members");
|
||||
export const SchemaText = localize('objectManagement.schemaLabel', "Schema");
|
||||
|
||||
// Database
|
||||
export const DatabaseExistsError = (dbName: string) => localize('objectManagement.databaseExistsError', "Database '{0}' already exists. Choose a different database name.", dbName);
|
||||
export const CollationText = localize('objectManagement.collationLabel', "Collation");
|
||||
export const RecoveryModelText = localize('objectManagement.recoveryModelLabel', "Recovery Model");
|
||||
export const CompatibilityLevelText = localize('objectManagement.compatibilityLevelLabel', "Compatibility Level");
|
||||
export const ContainmentTypeText = localize('objectManagement.containmentTypeLabel', "Containment Type");
|
||||
|
||||
|
||||
// Login
|
||||
export const BlankPasswordConfirmationText: string = localize('objectManagement.blankPasswordConfirmation', "Creating a login with a blank password is a security risk. Are you sure you want to continue?");
|
||||
export const DeleteLoginConfirmationText: string = localize('objectManagement.deleteLoginConfirmation', "Deleting server logins does not delete the database users associated with the logins. To complete the process, delete the users in each database. It may be necessary to first transfer the ownership of schemas to new users.");
|
||||
|
||||
Reference in New Issue
Block a user