It is impossible to create public action or workflow

Bug #1470373 reported by Nikolay Makhotkin
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mistral
Fix Released
High
Nikolay Makhotkin
Liberty
Fix Released
High
Nikolay Makhotkin

Bug Description

If user wants to create an action (or workflow) and share it between other tenants, it is impossible for now. Need to fix.

Changed in mistral:
milestone: liberty-2 → liberty-3
Revision history for this message
Lingxian Kong (kong) wrote :

sounds like it's a missing feature to mistral, I met the same problem(or question) from QA team, every tenant has many similiar workflows, if they can share between each other, it will largely descrease the number of workflows.

Changed in mistral:
assignee: nobody → Lingxian Kong (kong)
Changed in mistral:
milestone: liberty-3 → none
Revision history for this message
Renat Akhmerov (rakhmerov) wrote :

This BP basically requires 2 patches, one in the client and another one in the server, to be able to pass a value of 'scope' field for workflow/workbook/action.

Revision history for this message
Lingxian Kong (kong) wrote :

Hi, Renat,

Actually, I am thinking of making it more flexible, more controllable to end users.

* When user A creates workflow/workbook/action via API, he can specify a param (e.g. 'scope=public' ) , then all the mistral users can see and use that resource user A created.
* User A created a 'private' resource as before, he makes a POST request to mistral, e.g. http://localhost:8989/workflows/123/members, with body content {"member": "user B"}, then user B accepts the sharing through some ways, then both user A and user B can see and use that resource.
* User A created a resource and share it with user B, but user B doesn't want to accept it, and user B could reject and can't see and user that resource.
* ...

thoughts?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to mistral (master)

Fix proposed to branch: master
Review: https://review.openstack.org/224094

Changed in mistral:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to mistral (master)

Reviewed: https://review.openstack.org/224094
Committed: https://git.openstack.org/cgit/openstack/mistral/commit/?id=ddf30354aee377bdaac7f6932a01509cedc7898b
Submitter: Jenkins
Branch: master

commit ddf30354aee377bdaac7f6932a01509cedc7898b
Author: Nikolay Mahotkin <email address hidden>
Date: Wed Sep 16 16:41:05 2015 +0300

    Fixing uploading public workflow or action

    Closes-Bug: #1470373

    Change-Id: I776d10e8c3303e6c7d6430a0f338d6f6cbb255a9

Changed in mistral:
status: In Progress → Fix Committed
Changed in mistral:
milestone: 1.0.0 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.