You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by mb...@apache.org on 2013/04/11 12:31:15 UTC

svn commit: r1466826 - /hbase/branches/0.94/src/main/ruby/hbase/security.rb

Author: mbertozzi
Date: Thu Apr 11 10:31:14 2013
New Revision: 1466826

URL: http://svn.apache.org/r1466826
Log:
HBASE-7658 grant with an empty string as permission should throw an exception (addendum)

Modified:
    hbase/branches/0.94/src/main/ruby/hbase/security.rb

Modified: hbase/branches/0.94/src/main/ruby/hbase/security.rb
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/ruby/hbase/security.rb?rev=1466826&r1=1466825&r2=1466826&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/ruby/hbase/security.rb (original)
+++ hbase/branches/0.94/src/main/ruby/hbase/security.rb Thu Apr 11 10:31:14 2013
@@ -38,7 +38,7 @@ module Hbase
 
       # Verify that the specified permission is valid
       if (permissions == nil || permissions.length == 0)
-        raise(ArgumentError, "Ivalid permission: no actions associated with user")
+        raise(ArgumentError, "Invalid permission: no actions associated with user")
       end
 
       if (table_name != nil)