[ 
https://issues.apache.org/jira/browse/AMBARI-20050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15880529#comment-15880529
 ] 

Hudson commented on AMBARI-20050:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #6828 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/6828/])
AMBARI-20050. Issue while importing workflow with insufficient (grvngr: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=890ad905df0ae35c4f3d7ea6c4335fefdb05190b])
* (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/designer-errors.js
* (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
* (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/java/org/apache/oozie/ambari/view/assets/AssetResource.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/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/bundle-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/components/flow-designer.js
Revert "AMBARI-20050. Issue while importing workflow with insufficient (grvngr: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=986e7a9be5302ae557c0fc0e82027de4bad6fd43])
* (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/components/flow-designer.js
* (edit) 
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/workflowmanager/WorkflowsManagerResource.java
* (edit) 
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/OozieProxyImpersonator.java
* (edit) 
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/assets/AssetResource.java
* (edit) 
contrib/views/wfmanager/src/main/resources/ui/app/components/bundle-config.js
* (edit) 
contrib/views/wfmanager/src/main/resources/ui/app/components/coord-config.js
* (edit) 
contrib/views/wfmanager/src/main/resources/ui/app/templates/components/designer-errors.hbs
* (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/OozieDelegate.java
* (edit) 
contrib/views/wfmanager/src/main/resources/ui/app/templates/components/bundle-config.hbs
* (edit) contrib/views/wfmanager/src/main/resources/ui/app/styles/app.less
AMBARI-20050. Issue while importing workflow with insufficient (grvngr: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9fdeec1afecf1983dfdb633bca0ab07b15c6d24c])
* (edit) 
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/workflowmanager/WorkflowsManagerResource.java
* (edit) 
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/assets/AssetResource.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/designer-errors.hbs
* (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/OozieDelegate.java
* (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/WfmWebException.java
* (edit) 
contrib/views/wfmanager/src/main/resources/ui/app/templates/components/flow-designer.hbs
* (edit) contrib/views/wfmanager/src/main/resources/ui/app/styles/app.less
* (edit) 
contrib/views/wfmanager/src/main/resources/ui/app/templates/components/coord-config.hbs
* (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/WfmException.java
* (edit) 
contrib/views/wfmanager/src/main/java/org/apache/oozie/ambari/view/OozieProxyImpersonator.java
* (edit) 
contrib/views/wfmanager/src/main/resources/ui/app/components/designer-errors.js
* (edit) 
contrib/views/wfmanager/src/main/resources/ui/app/templates/components/bundle-config.hbs
* (add) 
contrib/views/wfmanager/src/main/resources/ui/app/templates/components/stack-trace-dialog.hbs
* (add) 
contrib/views/wfmanager/src/main/resources/ui/app/components/stack-trace-dialog.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)

Reply via email to