Hi Ruwan,

Thanks for the reply.

But when I assign default "Internal/publisher" role the user can create and
publish the app. When I look at the permission tree I see the following
permissions.


​
Do I need to remove Publish permissions in-order to achieve my requirement?

*Note : I'm trying this in a default pack with the changes you suggested
and I haven't changed any roles or permissions.*

With Regards,

On Tue, Jan 20, 2015 at 9:39 AM, Ruwan Yatawara <ruw...@wso2.com> wrote:

> Hi Yasasiri,
>
> This can be done by using the publisher and reviewer roles already
> available in app manager. Please follow the below steps.
>
> 1) create a user for creating the app, lets call him "creator", assign the
> role, "Internal/publisher"
>
> 2) create a user for reviewing the app, lets call him "reviewer", assign
> the role "Internal/reviewer"
>
> 3) login as the creator and create the app. and click on the "Submit"
> button. You will notice that if you click on "Approve" nothing happens,
> there is an error shown in the error logs.
>
> 4) login as the reviewer to the publisher and click on the "Approve"
>  button, your app will get published.
>
>
> *Note : *However I identified a small issue when trying this out, so
> please replace the following file inside of the publisher webapp, before
> you do this.
>
> Path : *<APPM_HOME>*/repository/deployment/server/jaggeryapps/*publisher*
> /themes/appm/renderers/controllers/assets_router.js
>
> Thanks and Regards,
>
> Ruwan Yatawara
>
> Senior Software Engineer,
> WSO2 Inc.
>
> email : ruw...@wso2.com
> mobile : +94 77 9110413
> blog : http://thoughts.ruwan-ace.com/
> www: :http://wso2.com
>
>
> On Mon, Jan 19, 2015 at 5:18 PM, Yasassri Ratnayake <yasas...@wso2.com>
> wrote:
>
>> Hi All,
>>
>> My requirement is to have 2 different users to control App creation.
>> Users should have privileges as mentioned below.
>>
>> User 1. To create Apps and submit for Approval.
>> User 2. To review and approve the App for publishing.
>>
>> What are the permissions that needs to be added to create two users to
>> address my scenario?
>>
>> With Regards,
>> --
>> Yasassri Ratnayake
>> Software Engineer - QA
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>> *Mobile : +94715933168 <%2B94715933168>*
>> *Blog : http://yasassriratnayake.blogspot.com/
>> <http://yasassriratnayake.blogspot.com/>*
>>
>
>


-- 
Yasassri Ratnayake
Software Engineer - QA
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
*Mobile : +94715933168*
*Blog : http://yasassriratnayake.blogspot.com/
<http://yasassriratnayake.blogspot.com/>*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to