Hi Tanya,

Thanks for the help. Also we wanted to give dashboard edit rights only to
the admin.So we removed the personalize button from the dashboard, for the
rest of the users by checking username from the session. Is there a better
way to do that?

Best Regards,
Thiwanka
LSF

On 14 November 2014 15:40, Tanya Madurapperuma <[email protected]> wrote:

> Hi Thiwanka,
>
> A dashboard is basically a jaggery app. If you navigate to the created
> dashboard ( at
> UES_HOME/repository/deployment/server/jaggeryapps/<your_dashboard> ), you
> will find an *index.jag* file. If you remove the below snippet from that
> file, any user will be able to see the dashboard without authentication if
> your gadgets doesn't require a logged in user.
>
> <%
> var user = require('/modules/user.js').current();
> if (!user) {
>     response.sendRedirect('/vv/login');
> }
> %>
>
> Thanks,
> Tanya
>
>
>
> On Wed, Nov 12, 2014 at 10:48 AM, Thiwanka Makumburage <
> [email protected]> wrote:
>
>> Hi All,
>> I'm Thiwanka Makumburage from Lanka Software Foundation, a member of a
>> opensource project called 'SriLanka Innovation Dashboard'. For the project
>> we use WSO2 UES product and customized gadgets on top of it. As per a
>> client request we want to develop some specific dashboards like following,
>>
>>        1) Common dashboard -
>>
>>    - View by all the users without authentication.
>>       - Gadgets to included will be decided by the client team.
>>
>>        2) User dashboards
>>
>>    - Each user can have their own customizable dashboard with
>>       authentication. (to achieve this do we need to automatically create
>>       dashboards with unique name such as username, for each user at the 
>> point of
>>       registration? )
>>       - Users will be able to save their preferences with gadgets.
>>
>> Could we create No.1 type of a common dashboard using UES? If possible,
>> how to achieve that? Thanks!
>>
>> Best Regards,
>> Thiwanka
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Tanya Madurapperuma
>
> Software Engineer,
> WSO2 Inc. : wso2.com
> Mobile : +94718184439
> Blog : http://tanyamadurapperuma.blogspot.com
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to