Hi All,
can we include this in AF 1.1.0. Flooding back end with ajax calls is not
nice which happens now when inviting multiple users and updating multiple
users. we can come up with a same solution for update users and delete
users operations.
This not just a nice to have feature i guess.

cheers!!!


On Fri, May 10, 2013 at 4:08 PM, Asanka Dissanayake <asan...@wso2.com>wrote:

> Hi All,
> Regarding adding a user to application.
>
> According to the present situation there is one method in
> ApplicationManagementService.java to do this.
>
> * public boolean addUserToApplication(String applicationId, String
> userName, String[] roles)*
> This can be used when assigning multiple roles to single user. But when it
> comes to assigning multiple users a same set of roles ,it requires many
> Ajax calls from the UI side.since it is cozy, we can introduce a method
>
> *public List<NameValuePair>** addUserToApplication(String applicationId,
> String[] userNames, String[] roles)*
> *
> *
> So the* List<NameValuePair>* can contain username as the Name and status
> of the operation as the value.
> When inviting a user following failure scenarios may take place.
>
> -not in the LDAP
> -internal error
> So depending on the cause of the error we can get a status code and inform
> the user from UI that which users added successfully and which failed. and
> also reason can be specified for failure.
>
> If we are going with this,we will have to change
> -Applicationmgt
> -jaggery
>              -module level,UI
> -BPEL AddUserToApplication
>
> This is my opinion. need a feedback.
>
> cheers!!!
>
>
> --
>
> *Asanka Dissanayake
> Software Engineer*
> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com*
> *
> email: asan...@wso2.com <ruch...@wso2.com>,   blog:
> cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com  mobile: +94 71
> 8373821*
>



-- 

*Asanka Dissanayake
Software Engineer*
*WSO2 Inc. - lean . enterprise . middleware |  wso2.com*
*
email: asan...@wso2.com <ruch...@wso2.com>,   blog:
cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com  mobile: +94 71
8373821*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to