mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fix Manage Access dialog to not allow entering blank user (#7844)
This commit is contained in:
@@ -54,7 +54,7 @@ export class HdfsModel {
|
||||
* @param type The type of ACL to create
|
||||
*/
|
||||
public createAndAddAclEntry(name: string, type: AclType): void {
|
||||
if (!this.permissionStatus) {
|
||||
if (!this.permissionStatus || !name || name.length < 1) {
|
||||
return;
|
||||
}
|
||||
const newEntry = new AclEntry(type, name, name);
|
||||
|
||||
Reference in New Issue
Block a user