HBASE-4903 addendum for security build
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1209365 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dbb016a527
commit
31468fa7ac
|
@ -785,11 +785,12 @@ public class AccessController extends BaseRegionObserver
|
|||
}
|
||||
|
||||
@Override
|
||||
public void preIncrement(final ObserverContext<RegionCoprocessorEnvironment> c,
|
||||
final Increment increment, final Result result)
|
||||
public Result preIncrement(final ObserverContext<RegionCoprocessorEnvironment> c,
|
||||
final Increment increment)
|
||||
throws IOException {
|
||||
requirePermission(TablePermission.Action.WRITE, c.getEnvironment(),
|
||||
increment.getFamilyMap().keySet());
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue