Return-Path: X-Original-To: apmail-accumulo-user-archive@www.apache.org Delivered-To: apmail-accumulo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A126610980 for ; Fri, 3 Jan 2014 16:06:00 +0000 (UTC) Received: (qmail 12381 invoked by uid 500); 3 Jan 2014 16:04:22 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 12346 invoked by uid 500); 3 Jan 2014 16:04:20 -0000 Mailing-List: contact user-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@accumulo.apache.org Delivered-To: mailing list user@accumulo.apache.org Received: (qmail 12336 invoked by uid 99); 3 Jan 2014 16:04:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jan 2014 16:04:19 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of josh.elser@gmail.com designates 209.85.128.45 as permitted sender) Received: from [209.85.128.45] (HELO mail-qe0-f45.google.com) (209.85.128.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jan 2014 16:04:12 +0000 Received: by mail-qe0-f45.google.com with SMTP id 6so15413847qea.4 for ; Fri, 03 Jan 2014 08:03:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=+ECLEk21gOL3/h1/eSINh9flUOZEIjwG4VAenWXdQro=; b=nNh/WzkodMeq4lim8WnYlepG4urC0XIPh7g/sgMSgY1ByhjoNffETFeFuxkNUo4SFc /7J2uyEmu3E88mBhnFDWi1ifOzwF5po90pyWM2qKcVnOeQCG3TVOyVqXQ7ea6PL1F1ud muOZHTUD09Epre3S4IiQ3enhhiTGzyucWZrM3uUDM9OC+EIFLXLnjIXbrthtrSh/oopv prWG5rsJnL1huApB1vCYEKYPXal5MZW5LY2zgXeOo+MxdHV4/TQqzsqnKo1LrKGe+zDw wNCHIgQwqOlEyHCVbyyrnD6jVrIngyaoZ9Hmbdw2X2DW8b4Ew/kQ4t2JZdk7nU1GayL1 oAvQ== X-Received: by 10.229.220.3 with SMTP id hw3mr147839265qcb.19.1388765031874; Fri, 03 Jan 2014 08:03:51 -0800 (PST) Received: from HW10447.local (pool-173-69-177-34.bltmmd.fios.verizon.net. [173.69.177.34]) by mx.google.com with ESMTPSA id r5sm86186189qan.4.2014.01.03.08.03.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 03 Jan 2014 08:03:51 -0800 (PST) Message-ID: <52C6DF66.7030209@gmail.com> Date: Fri, 03 Jan 2014 11:03:50 -0500 From: Josh Elser User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: user@accumulo.apache.org Subject: Re: Column visibility authorization proxying References: <52C6DCEC.30100@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org hahahaha, my brain isn't on yet it seems (or my eyes just didn't read far enough) On 1/3/14, 10:56 AM, Aru Sahni wrote: > I thought so to, until... > > def changeUserAuthorizations(self, login, user, authorizations): > """ > Parameters: > - login > - user > - authorizations > """ > pass > > > :-) > > > On Fri, Jan 3, 2014 at 10:53 AM, Josh Elser > wrote: > > Looks like there is a changeUserAuthorizations method defined in > AccumuloProxy.py which should be the method you're looking for. > > As for bugs, while Jason Trost is a committer/PMC for Accumulo and > hangs around on this list, bug reports should probably go to Github > while the code is hosted there. But, you're likely to get some > amount of help from asking questions to this list too ;). > > > On 1/3/14, 10:34 AM, Aru Sahni wrote: > > Hi, > > I'm currently trying to apply and scan for rows with specific > authorizations using pyaccumulo. I'm getting a BAD_AUTHORIZATIONS > exception due to the fact that I haven't granted them to the account > that's currently scanning. I was wondering if there was a way to > programmatically add these authorizations to the user account? I'm > trying to make these on-demand, so I'd like to avoid > pre-defining them > if at all possible. > > Also, I get an exception from the proxy library whenever this > exception > gets thrown. > > "AttributeError: 'AccumuloSecurityException' object has no attribute > '_message'" > > on line 82 of Thrift.py. Should I report that here, or on the > pyaccumulo github? > > Thanks! > ~Aru > >