HBASE-12553 request value is not consistent for restoreSnapshot in audit logs (Ashish)
This commit is contained in:
parent
011442edda
commit
9b808155e3
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue