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 <[email protected]
<mailto:[email protected]>> 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


Reply via email to