Re: [Dev] User profile functionality in admin portal and user portal

2017-03-08 Thread Dakshika Jayathilaka
Redirection will kill the experience of the admin-user, so +1 to keep
within admin portal

*Dakshika Jayathilaka*
PMC Member & Committer of Apache Stratos
Associate Technical Lead
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Tue, Mar 7, 2017 at 4:34 PM, Pushpalanka Jayawardhana 
wrote:

> Hi All,
>
> In the user portal we already have functionality implemented for 'account
> settings' shown in top right-hand, along with the logout option for
> logged-in user.
> Using this option the logged-in user can update the profile details,
> security questions etc.
>
> When we come down to the admin users, they may also need to update their
> user profiles, security questions etc. Ideally in that case they should
> also go via this 'account settings' option in top right-hand side.
> At this point we have several options.
>
> - Should we redirect the admin users to user-portal to complete this
> operation of updating their own user profile or
> - Should we implement that same profile update functionalities within
> admin-portal?
>
> - If we are to go with this approach, if will be good if we can place the
> common code in some other place where both apps(admin-portal and
> user-portal) can reuse.
>
> Appreciate you inputs.
>
> Thanks,
> --
> Pushpalanka.
> --
> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
> Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
> Mobile: +94779716248
> Blog: pushpalankajaya.blogspot.com/ | LinkedIn: lk.linkedin.com/in/
> pushpalanka/ | Twitter: @pushpalanka
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] User profile functionality in admin portal and user portal

2017-03-07 Thread Johann Nallathamby
+1 for Kasun's suggestion. No need to complicate things any further than we
have now :).

On Wed, Mar 8, 2017 at 12:23 PM, KasunG Gajasinghe  wrote:

>
> To reduce complexity, I think we can keep an account settings within the
> admin portal as well. Otherwise, we have to know where the user-portal app
> is located in a distributed environment etc.
>
> We can create a UUF component [1] for account-settings and re-use it
> across both portals.
>
> [1] https://github.com/wso2/carbon-uuf-maven-tools/tree/
> master/plugin#1-creating-a-uuf-component
>
> On Tue, Mar 7, 2017 at 4:34 PM, Pushpalanka Jayawardhana 
> wrote:
>
>> Hi All,
>>
>> In the user portal we already have functionality implemented for 'account
>> settings' shown in top right-hand, along with the logout option for
>> logged-in user.
>> Using this option the logged-in user can update the profile details,
>> security questions etc.
>>
>> When we come down to the admin users, they may also need to update their
>> user profiles, security questions etc. Ideally in that case they should
>> also go via this 'account settings' option in top right-hand side.
>> At this point we have several options.
>>
>> - Should we redirect the admin users to user-portal to complete this
>> operation of updating their own user profile or
>> - Should we implement that same profile update functionalities within
>> admin-portal?
>>
>> - If we are to go with this approach, if will be good if we can place the
>> common code in some other place where both apps(admin-portal and
>> user-portal) can reuse.
>>
>> Appreciate you inputs.
>>
>> Thanks,
>> --
>> Pushpalanka.
>> --
>> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
>> Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
>> Mobile: +94779716248
>> Blog: pushpalankajaya.blogspot.com/ | LinkedIn: lk.linkedin.com/in/p
>> ushpalanka/ | Twitter: @pushpalanka
>>
>>
>
>
> --
>
> *Kasun Gajasinghe*Associate Technical Lead, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
> phone: +1 650-745-4499 <(650)%20745-4499>, 77 678 0813
>
>



-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Technical Lead & Product Lead of WSO2 Identity Server
Governance Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] User profile functionality in admin portal and user portal

2017-03-07 Thread KasunG Gajasinghe
To reduce complexity, I think we can keep an account settings within the
admin portal as well. Otherwise, we have to know where the user-portal app
is located in a distributed environment etc.

We can create a UUF component [1] for account-settings and re-use it across
both portals.

[1]
https://github.com/wso2/carbon-uuf-maven-tools/tree/master/plugin#1-creating-a-uuf-component

On Tue, Mar 7, 2017 at 4:34 PM, Pushpalanka Jayawardhana 
wrote:

> Hi All,
>
> In the user portal we already have functionality implemented for 'account
> settings' shown in top right-hand, along with the logout option for
> logged-in user.
> Using this option the logged-in user can update the profile details,
> security questions etc.
>
> When we come down to the admin users, they may also need to update their
> user profiles, security questions etc. Ideally in that case they should
> also go via this 'account settings' option in top right-hand side.
> At this point we have several options.
>
> - Should we redirect the admin users to user-portal to complete this
> operation of updating their own user profile or
> - Should we implement that same profile update functionalities within
> admin-portal?
>
> - If we are to go with this approach, if will be good if we can place the
> common code in some other place where both apps(admin-portal and
> user-portal) can reuse.
>
> Appreciate you inputs.
>
> Thanks,
> --
> Pushpalanka.
> --
> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
> Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
> Mobile: +94779716248
> Blog: pushpalankajaya.blogspot.com/ | LinkedIn: lk.linkedin.com/in/
> pushpalanka/ | Twitter: @pushpalanka
>
>


-- 

*Kasun Gajasinghe*Associate Technical Lead, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
phone: +1 650-745-4499, 77 678 0813
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] User profile functionality in admin portal and user portal

2017-03-07 Thread Pushpalanka Jayawardhana
Hi All,

In the user portal we already have functionality implemented for 'account
settings' shown in top right-hand, along with the logout option for
logged-in user.
Using this option the logged-in user can update the profile details,
security questions etc.

When we come down to the admin users, they may also need to update their
user profiles, security questions etc. Ideally in that case they should
also go via this 'account settings' option in top right-hand side.
At this point we have several options.

- Should we redirect the admin users to user-portal to complete this
operation of updating their own user profile or
- Should we implement that same profile update functionalities within
admin-portal?

- If we are to go with this approach, if will be good if we can place the
common code in some other place where both apps(admin-portal and
user-portal) can reuse.

Appreciate you inputs.

Thanks,
-- 
Pushpalanka.
-- 
Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
Senior Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
Mobile: +94779716248
Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev