hep-gc/repoman — Issue #64: cannot access some image's metadata even when member of admins group
Author: AndreCharbonneau
Created: 2012-01-16 19:09:50+00:00
State: open
Labels: server

It seems that I can't access an image's metadata even if I'm part of the admins group.
For example:

[andrec@elephant ~]$ repoman describe-user andrec
client_dn : /C=CA/O=Grid/OU=sao.nrc.ca/CN=Andre Charbonneau
email : Andre.Charbonneau@nrc-cnrc.gc.ca
full_name : Andre Charbonneau
groups : ['https://alto.cloud.nrc.ca/api/groups/users', 'https://alto.cloud.nrc.ca/api/groups/babar', 'https://alto.cloud.nrc.ca/api/groups/admins']
images : ['https://alto.cloud.nrc.ca/api/images/andrec/cloudbase_i386__andre.img.gz', 'https://alto.cloud.nrc.ca/api/images/andrec/babar-base-cvmfs', 'https://alto.cloud.nrc.ca/api/images/andrec/testvm2', 'https://alto.cloud.nrc.ca/api/images/andrec/repoman-dev.gz', 'https://alto.cloud.nrc.ca/api/images/andrec/andre-atlas-ztt-v5']
permissions : ['image_delete', 'image_modify', 'group_delete', 'image_create', 'group_create', 'image_modify_group', 'user_modify', 'group_modify_membership', 'user_modify_self', 'group_modify_permissions', 'group_modify', 'user_create', 'image_delete_group', 'user_delete']
suspended : False
user_name : andrec

[andrec@elephant ~]$ repoman describe-image rsobie/rjs-atlas-ztt-v3
You lack the rights to access that object

I think an admin should have access to all images on the repository.