Skip to content

admin settings are too sticky #833

Description

@d-w-moore

Setting admin behavior for one session affects another.

import irods;s=irods.helpers.make_session()
sd1=irods.helpers.make_session()
with sd1:
  sd1a = sd1.data_objects.get('/tempZone/home/rodsuser1/a')
  sd1a.metadata(admin=True) # this line causes the "sticky" change
del sd1a,sd1

sd2=irods.helpers.make_session()
sd2a = sd2.data_objects.get('/tempZone/home/rodsuser1/a')
sd2a.metadata.set('a','b') # call causes  {ADMIN_KW:''} to be passed to server

The result is an INSUFFICIENT_PRIVILEGE_LEVEL from the server on the last line.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions