Bug 668538 - pulp-client consumer history accepts an --id argument
Summary: pulp-client consumer history accepts an --id argument
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: Sprint 22
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: verified-to-close
TreeView+ depends on / blocked
 
Reported: 2011-01-10 18:37 UTC by Jay Dobies
Modified: 2013-09-09 16:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-16 13:59:20 UTC
Embargoed:


Attachments (Terms of Use)

Description Jay Dobies 2011-01-10 18:37:02 UTC
The ID should be read from the consumer cert; we shouldn't allow one consumer to view the details of another.

Comment 1 Sayli Karmarkar 2011-03-25 06:40:29 UTC
Fixed. 

$ sudo pulp-client consumer history --help
Usage: pulp-client <options> consumer history <options>

Options:
  -h, --help            show this help message and exit
  --event_type=EVENT_TYPE
                        limits displayed history entries to the given type;
                        supported types: ("consumer_created",
                        "consumer_deleted", "repo_bound", "repo_unbound",
                        "package_installed", "package_uninstalled",
                        "errata_installed", "profile_changed")
  --limit=LIMIT         limits displayed history entries to the given amount
                        (must be greater than zero)
  --sort=SORT           indicates the sort direction ("ascending" or
                        "descending") based on the entry's timestamp
  --start_date=START_DATE
                        only return entries that occur on or after the given
                        date (format: yyyy-mm-dd)
  --end_date=END_DATE   only return entries that occur on or before the given
                        date (format: yyyy-mm-dd)

Comment 2 Jeff Ortel 2011-03-29 17:32:37 UTC
Build: 0.158

Comment 3 Preethi Thomas 2011-05-05 13:30:22 UTC
verified
[root@10 ~]# rpm -q pulp-client
pulp-client-0.0.173-1.fc14.noarch

[root@10 ~]# pulp-client -u admin -p admin consumer history --help
Usage: pulp-client <options> consumer history <options>

Options:
  -h, --help            show this help message and exit
  --event_type=EVENT_TYPE
                        limits displayed history entries to the given type;
                        supported types: ("consumer_created",
                        "consumer_deleted", "repo_bound", "repo_unbound",
                        "package_installed", "package_uninstalled",
                        "errata_installed", "profile_changed")
  --limit=LIMIT         limits displayed history entries to the given amount
                        (must be greater than zero)
  --sort=SORT           indicates the sort direction ("ascending" or
                        "descending") based on the entry's timestamp
  --start_date=START_DATE
                        only return entries that occur on or after the given
                        date (format: yyyy-mm-dd)
  --end_date=END_DATE   only return entries that occur on or before the given
                        date (format: yyyy-mm-dd)

Comment 4 Preethi Thomas 2011-08-16 13:59:20 UTC
Closing with Community Release 15

pulp-0.0.223-4.


Note You need to log in before you can comment on or make changes to this bug.