HBASE-12553 request value is not consistent for restoreSnapshot in audit logs (Ashish)

This commit is contained in:
tedyu 2014-12-09 20:40:18 -08:00
parent 011442edda
commit 9b808155e3
1 changed files with 1 additions and 1 deletions

View File

@ -1160,7 +1160,7 @@ public class AccessController extends BaseMasterAndRegionObserver
requirePermission("restoreSnapshot", hTableDescriptor.getTableName(), null, null, requirePermission("restoreSnapshot", hTableDescriptor.getTableName(), null, null,
Permission.Action.ADMIN); Permission.Action.ADMIN);
} else { } else {
requirePermission("restore", Action.ADMIN); requirePermission("restoreSnapshot", Action.ADMIN);
} }
} }