Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1685368 - [RFE] Report Template Info should include value of 'locked' attribute
Summary: [RFE] Report Template Info should include value of 'locked' attribute
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Reporting
Version: 6.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Lukáš Hellebrandt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-05 03:59 UTC by hprakash
Modified: 2019-03-05 07:28 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Foreman Issue Tracker 26230 None None None 2019-03-05 07:27:17 UTC

Description hprakash 2019-03-05 03:59:01 UTC
Description of problem:
Report template information does not include 'Locked' attribute.

Version-Release number of selected component (if applicable):
satellite-6.5.0-6.beta.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. Fetch report template info using any method given below-
# curl -X GET -k -u admin:<pwd> https://<sat-fqdn>/api/report_templates/<template-id> -H 'content-type: application/json'

OR 

# hammer report-template info --id <template-id>
2. the output of above curl/hammer does not have the value for 'Locked' attribute.


Actual results:
curl/hammer command to get the report template info, does not have the value for 'Locked' attribute.

Expected results:
'Locked' attribute should be displayed through API request and hammer output.

Additional info:
- from the webUI, it can be checked if report template is locked or not. 
- As a user, I may want to check if report template is locked or not from the API response or from the hammer output. 
- like the output of `hammer template info --id <template-id>` it would be good to include the 'Locked' attribute for report template.

Comment 3 Ondřej Pražák 2019-03-05 07:27:16 UTC
Created redmine issue http://projects.theforeman.org/issues/26230 from this bug


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