Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken list_volume_user_ids command in Syndicate Admin tool #13

Open
iychoi opened this issue Nov 17, 2016 · 0 comments
Open

Broken list_volume_user_ids command in Syndicate Admin tool #13

iychoi opened this issue Nov 17, 2016 · 0 comments
Labels

Comments

@iychoi
Copy link
Member

iychoi commented Nov 17, 2016

The list_volume_user_ids command in syndicate admin tool is broken. It calls a storage.list_volume_user_ids function which is non-existing.

from https://github.com/syndicate-storage/syndicate-core/blob/master/ms/common/api.py#L341

@Authenticate()
@ListAPIGuard( SyndicateUser, caller_user="caller_user", parse_args=SyndicateUser.ParseArgs )
def list_volume_user_ids( volume_name_or_id, **attrs ):
   """
   List the emails of the users that can access data
   in a given volume.  That is, which users have
   registered User Gateways that can access
   the volume's metadata.

   Positional arguments:
      volume_name (str):
         The name of the volume to query.

   Returns:
      The list of emails of users that can run User Gateways
      within this volume.

   Authorization:
      An administrator can list any Volume's user IDs.
      A user must own the Volume.
   """
   return storage.list_volume_user_ids( volume_name_or_id, **attrs )
@iychoi iychoi added the bug label Nov 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant