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 1F8421094D for ; Fri, 3 Jan 2014 15:58:56 +0000 (UTC) Received: (qmail 2805 invoked by uid 500); 3 Jan 2014 15:57:34 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 2607 invoked by uid 500); 3 Jan 2014 15:57:07 -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 2583 invoked by uid 99); 3 Jan 2014 15:57:04 -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 15:57:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of arusahni@gmail.com designates 74.125.83.51 as permitted sender) Received: from [74.125.83.51] (HELO mail-ee0-f51.google.com) (74.125.83.51) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Jan 2014 15:56:58 +0000 Received: by mail-ee0-f51.google.com with SMTP id b15so6826761eek.38 for ; Fri, 03 Jan 2014 07:56:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=tR/hdo5Y80XtPl8oOOtbuNNGfaa3WycxgqIrF/eNSoA=; b=0zuRltpYWsSG5kBVii1WySPqOPZJukWu6UnILexP9/HJGLwSzqoBC5kl73IYuoiEEM 677Q595YcsRTVFGyj/5flWTAf4NfpMavzj1s1cAtP3kyob7q0ZxKpnXsTKuZDAA+tvz8 UL3qtpOSnTsEuftJsOM3hECKdpmfA+YgbwPe6xgwumu7imR1ItTQalSDCx1moKgEysRS UFSVhzAAq95COi8bwV1w02sTqc6Cp3uSqEBGK+LsD79umK9xb3ixniCnPU8zSBFepHWx 7+u2ID5eUwq4rcgo0IJVgWviqF9iuD6tvPJxeMPwehcAQGqwGcw0NZkW00DHfbC12xA/ C7kQ== X-Received: by 10.14.251.68 with SMTP id a44mr3555461ees.64.1388764598411; Fri, 03 Jan 2014 07:56:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.14.143.66 with HTTP; Fri, 3 Jan 2014 07:56:18 -0800 (PST) In-Reply-To: <52C6DCEC.30100@gmail.com> References: <52C6DCEC.30100@gmail.com> From: Aru Sahni Date: Fri, 3 Jan 2014 10:56:18 -0500 Message-ID: Subject: Re: Column visibility authorization proxying To: user@accumulo.apache.org Content-Type: multipart/alternative; boundary=001a1132f1ba90a56804ef12f480 X-Virus-Checked: Checked by ClamAV on apache.org --001a1132f1ba90a56804ef12f480 Content-Type: text/plain; charset=ISO-8859-1 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 >> > --001a1132f1ba90a56804ef12f480 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I thought so to, until...

def changeUserAuthorizations(self= , login, user, authorizations<= /span>):
=A0=A0=A0=A0"""= ;
Parameters:=
- login
- user
- authorizations
= """
=A0=A0=A0=A0pass


:-)
--001a1132f1ba90a56804ef12f480--