CDR Tickets

Issue Number 4004
Summary [Summaries] Create Interface for CIAT Staff to Create Spanish Summaries from XML
Created 2015-11-19 17:27:31
Issue Type New Feature
Submitted By Juthe, Robin (NIH/NCI) [E]
Assigned To Kline, Bob (NIH/NCI) [C]
Status Closed
Resolved 2016-03-25 14:07:15
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.174053
Description

It was suggested today that we discuss the possibility of creating an interface that would allow Linda and/or William to create new Spanish summary documents from XML from the WorldServer application.

Comment entered 2015-11-19 17:28:54 by Juthe, Robin (NIH/NCI) [E]

Adding William and Margaret. Please amend this description if I got anything wrong. Thanks.

Comment entered 2016-02-18 10:58:46 by Learn, Blair (NIH/NCI) [C]

CGI Python (Web UI)
Estimate 8 points

Comment entered 2016-03-23 10:10:07 by Kline, Bob (NIH/NCI) [C]

Implemented on DEV and added to CIAT/CIPS Staff menu.

Comment entered 2016-03-25 09:31:07 by Osei-Poku, William (NIH/NCI) [C]

Verified on DEV. Thanks!

Please change the name to "Create World Server Translated Summary". I have also created a new group called "Create WS Translated Summary" on DEV. Can you please allow this group to have access to this tool?

Comment entered 2016-03-25 09:37:35 by Kline, Bob (NIH/NCI) [C]

Permissions are controlled by actions, and only indirectly by groups. Please create an action and give permission for it to your new group and I'll change the permission check from "can create summary documents" to your new action. Create the action and group on all tiers.

Comment entered 2016-03-25 09:40:47 by Kline, Bob (NIH/NCI) [C]

Title changed.

Comment entered 2016-03-25 11:27:26 by Osei-Poku, William (NIH/NCI) [C]

I have created the new action: "CAN CREATE WS SUMMARIES"

Comment entered 2016-03-25 14:07:01 by Kline, Bob (NIH/NCI) [C]

I have modified the script to test whether the account for the requesting session is allowed to perform the action "CREATE WS SUMMARIES" (action names should identify the action, not the test whether the action is allowed – otherwise the code would look like {code:python}
if cdr.canDo(session, "CAN CREATE ...")

Comment entered 2016-03-25 15:52:05 by Osei-Poku, William (NIH/NCI) [C]

I changed the name of the action accordingly (CREATE WS SUMMARIES ) but I am getting "Account not authorized for adding WS summaries." error message when I try to access the menu for creating the the summary. I did give permission to the group I created earlier "Create WS Translated Summary" for the action as suggested and select my username and Linda's username under the group. I am not sure what I may be doing wrong or what I may have left out.

Comment entered 2016-03-25 16:01:48 by Kline, Bob (NIH/NCI) [C]

You've got two spaces in between "WS" and "SUMMARIES" in your action name.

Comment entered 2016-03-25 16:16:11 by Osei-Poku, William (NIH/NCI) [C]

Thanks! It worked.

Verified on DEV.

Comment entered 2016-03-31 10:51:37 by Juthe, Robin (NIH/NCI) [E]

Verified on QA (per Amy).

Comment entered 2016-05-13 14:11:06 by Osei-Poku, William (NIH/NCI) [C]

Verified on PROD. Thanks!

Elapsed: 0:00:00.001704