[
https://issues.apache.org/jira/browse/AMBARI-20050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15880569#comment-15880569
]
Hudson commented on AMBARI-20050:
---------------------------------
SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #1072 (See
[https://builds.apache.org/job/Ambari-branch-2.5/1072/])
Revert "AMBARI-20050. Issue while importing workflow with insufficient (grvngr:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=523247aaf24b9b766927e97e35cb2f9e5e790fbf])
* (edit)
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/OozieProxyImpersonator.java
* (edit)
contrib/views/wfmanager/src/main/resources/ui/app/components/bundle-config.js
* (edit)
contrib/views/wfmanager/src/main/resources/ui/app/templates/components/coord-config.hbs
* (edit)
contrib/views/wfmanager/src/main/resources/ui/app/templates/components/designer-errors.hbs
* (edit) contrib/views/wfmanager/src/main/resources/ui/app/styles/app.less
* (edit)
contrib/views/wfmanager/src/main/resources/ui/app/templates/components/flow-designer.hbs
* (edit)
contrib/views/wfmanager/src/main/resources/ui/app/templates/components/bundle-config.hbs
* (edit)
contrib/views/wfmanager/src/main/resources/ui/app/components/designer-errors.js
* (edit)
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/workflowmanager/WorkflowsManagerResource.java
* (edit)
contrib/views/wfmanager/src/main/resources/ui/app/components/coord-config.js
* (edit)
contrib/views/wfmanager/src/main/resources/ui/app/components/flow-designer.js
* (edit)
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/assets/AssetResource.java
* (edit)
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/OozieDelegate.java
AMBARI-20050. Issue while importing workflow with insufficient (grvngr:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=447fe87230f872ae108e1d2b476d858e45928707])
* (add)
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/exception/WfmException.java
* (add)
contrib/views/wfmanager/src/main/resources/ui/app/components/stack-trace-dialog.js
* (edit)
contrib/views/wfmanager/src/main/resources/ui/app/components/bundle-config.js
* (edit)
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/OozieProxyImpersonator.java
* (add)
contrib/views/wfmanager/src/main/resources/ui/app/templates/components/stack-trace-dialog.hbs
* (edit)
contrib/views/wfmanager/src/main/resources/ui/app/components/designer-errors.js
* (edit)
contrib/views/wfmanager/src/main/resources/ui/app/templates/components/flow-designer.hbs
* (edit)
contrib/views/wfmanager/src/main/resources/ui/app/templates/components/designer-errors.hbs
* (edit)
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/workflowmanager/WorkflowsManagerResource.java
* (edit)
contrib/views/wfmanager/src/main/resources/ui/app/templates/components/coord-config.hbs
* (edit)
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/assets/AssetResource.java
* (edit) contrib/views/wfmanager/src/main/resources/ui/app/styles/app.less
* (edit)
contrib/views/wfmanager/src/main/resources/ui/app/templates/components/bundle-config.hbs
* (edit)
contrib/views/wfmanager/src/main/resources/ui/app/components/flow-designer.js
* (add)
contrib/views/wfmanager/src/main/resources/ui/tests/integration/components/stack-trace-dialog-test.js
* (add)
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/exception/ErrorCode.java
* (add)
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/exception/WfmWebException.java
* (edit)
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/OozieDelegate.java
* (edit)
contrib/views/wfmanager/src/main/resources/ui/app/components/coord-config.js
> Issue while importing workflow with insufficient permissions
> ------------------------------------------------------------
>
> Key: AMBARI-20050
> URL: https://issues.apache.org/jira/browse/AMBARI-20050
> Project: Ambari
> Issue Type: Bug
> Components: ambari-views
> Affects Versions: 2.5.0
> Reporter: Supreeth Sharma
> Assignee: M Madhan Mohan Reddy
> Priority: Critical
> Fix For: 2.5.0
>
> Attachments: AMBARI-20050_trunk.patch
>
>
> Facing Issue while importing workflow with insufficient permissions. Though
> /api/v1/views/WORKFLOW_MANAGER/versions/1.0.0/instances/WFM/resources/proxy/readWorkflowDetail?workflowXmlPath=/user/admin/new/email.xml
> is failed with 500 code, its not been handled on the UI.
> UI is stuck in import phase.
> Steps to reproduce :
> 1) Login as user1 and submit workflow and save to hdfs location /user/user1
> 2) Now login as user2 who doesn't have access to /user/user1 .
> Now user2 can view the workflow status in the dashboard.
> 3) Click on edit workflow and try to navigate to designer page.
> 4) Due to lack of permission, user is not allowed to import the workflow and
> UI is not handling this error.
> This should be properly handled on the UI and appropriate error message need
> to be displayed.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)