Re: [Dev] [G-Reg]How to verify non-admin users to registry email notifications?

2014-04-29 Thread Eranda Sooriyabandara
Please find the permissions needed for registry operations in
https://docs.wso2.org/display/Governance460/Roles.

thanks
Eranda


On Tue, Apr 29, 2014 at 11:57 AM, Ajith Vitharana  wrote:

>
>
>
> On Tue, Apr 29, 2014 at 11:39 AM, Chamila Wijayarathna 
> wrote:
>
>> Hi Subash,
>> I selected "notification" permission for everyone role, but still getting
>> the same result.[1] is the complete message I am receiving at terminal.
>> 1. https://gist.github.com/cdwijayarathna/11391761
>>
>
> Under the "1. Notification" section there are three permissions, Did you
> check all (Browse , Notifications, Community Features ) ?
>
>
>1. Notifications
>   1. All Permission>Admin Permissions>Manage>Resources>Browse
>   2. All Permission>Admin Permissions>Manage>Resources>Notifications
>   3. All Permission>Admin Permissions>Manage>Resources>Community
>   Features
>
>
> Thanks.
> Ajith
>
>>
>> Thank You.
>>
>>
>> On Tue, Apr 29, 2014 at 11:14 AM, Subash Chaturanga wrote:
>>
>>> Hi Chamila,
>>> Apparently the user does not have "Notifications" permissions . Refer
>>> [1] to add it to the user.
>>>
>>> [1] - https://docs.wso2.org/display/Governance460/Roles
>>>
>>>
>>> On Tue, Apr 29, 2014 at 11:02 AM, Chamila Wijayarathna >> > wrote:
>>>
 Hello all,
 In Enterprise Store, I'm trying to implement email notification system
 to notify users about new versions of an asset which a particular user has
 already downloaded.
 I used registry notification system to implement this. But when user
 tries to verify subscription, it fails since it requires user to have admin
 privileges.

 *[2014-04-29 10:09:56,720] ERROR {java.lang.Class} -  Access Denied.
 Failed authorization attempt to access service 'InfoAdminService' operation
 'verifyEmail' by 'chamila'*

 Is there any workaround for this which enables normal users to verify
 subscription to email notifications?

 Thank You!


 --
 *Chamila Wijayarathna*
 Engineering Intern,
 WSO2 Inc.


>>>
>>>
>>> --
>>> Thanks
>>> /subash
>>>
>>> *Subash Chaturanga*
>>> Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com
>>>
>>> email: sub...@wso2.com
>>> blog:  http://subashsdm.blogspot.com/
>>> twitter: @subash89
>>> phone: +9477 2225922
>>> Lean . Enterprise . Middleware
>>>
>>
>>
>>
>> --
>> *Chamila Wijayarathna*
>> Engineering Intern,
>> WSO2 Inc.
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Ajith Vitharana.
> WSO2 Inc. - http://wso2.org
> Email  :  aji...@wso2.com
> Mobile : +94772217350
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Eranda Sooriyabandara*Senior Software Engineer;
Integration Technologies Team;
WSO2 Inc.; http://wso2.com
Lean . Enterprise . Middleware

E-mail: eranda AT wso2.com
Mobile: +94 716 472 816
Linked-In: http://www.linkedin.com/in/erandasooriyabandara
Blog: http://emsooriyabandara.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [G-Reg]How to verify non-admin users to registry email notifications?

2014-04-28 Thread Chamila Wijayarathna
Hi Ajith,
It worked after selecting all 3 permissions.
Thank You!


On Tue, Apr 29, 2014 at 11:57 AM, Ajith Vitharana  wrote:

>
>
>
> On Tue, Apr 29, 2014 at 11:39 AM, Chamila Wijayarathna 
> wrote:
>
>> Hi Subash,
>> I selected "notification" permission for everyone role, but still getting
>> the same result.[1] is the complete message I am receiving at terminal.
>> 1. https://gist.github.com/cdwijayarathna/11391761
>>
>
> Under the "1. Notification" section there are three permissions, Did you
> check all (Browse , Notifications, Community Features ) ?
>
>
>1. Notifications
>   1. All Permission>Admin Permissions>Manage>Resources>Browse
>   2. All Permission>Admin Permissions>Manage>Resources>Notifications
>   3. All Permission>Admin Permissions>Manage>Resources>Community
>   Features
>
>
> Thanks.
> Ajith
>
>>
>> Thank You.
>>
>>
>> On Tue, Apr 29, 2014 at 11:14 AM, Subash Chaturanga wrote:
>>
>>> Hi Chamila,
>>> Apparently the user does not have "Notifications" permissions . Refer
>>> [1] to add it to the user.
>>>
>>> [1] - https://docs.wso2.org/display/Governance460/Roles
>>>
>>>
>>> On Tue, Apr 29, 2014 at 11:02 AM, Chamila Wijayarathna >> > wrote:
>>>
 Hello all,
 In Enterprise Store, I'm trying to implement email notification system
 to notify users about new versions of an asset which a particular user has
 already downloaded.
 I used registry notification system to implement this. But when user
 tries to verify subscription, it fails since it requires user to have admin
 privileges.

 *[2014-04-29 10:09:56,720] ERROR {java.lang.Class} -  Access Denied.
 Failed authorization attempt to access service 'InfoAdminService' operation
 'verifyEmail' by 'chamila'*

 Is there any workaround for this which enables normal users to verify
 subscription to email notifications?

 Thank You!


 --
 *Chamila Wijayarathna*
 Engineering Intern,
 WSO2 Inc.


>>>
>>>
>>> --
>>> Thanks
>>> /subash
>>>
>>> *Subash Chaturanga*
>>> Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com
>>>
>>> email: sub...@wso2.com
>>> blog:  http://subashsdm.blogspot.com/
>>> twitter: @subash89
>>> phone: +9477 2225922
>>> Lean . Enterprise . Middleware
>>>
>>
>>
>>
>> --
>> *Chamila Wijayarathna*
>> Engineering Intern,
>> WSO2 Inc.
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Ajith Vitharana.
> WSO2 Inc. - http://wso2.org
> Email  :  aji...@wso2.com
> Mobile : +94772217350
>
>


-- 
*Chamila Wijayarathna*
Engineering Intern,
WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [G-Reg]How to verify non-admin users to registry email notifications?

2014-04-28 Thread Ajith Vitharana
On Tue, Apr 29, 2014 at 11:39 AM, Chamila Wijayarathna wrote:

> Hi Subash,
> I selected "notification" permission for everyone role, but still getting
> the same result.[1] is the complete message I am receiving at terminal.
> 1. https://gist.github.com/cdwijayarathna/11391761
>

Under the "1. Notification" section there are three permissions, Did you
check all (Browse , Notifications, Community Features ) ?


   1. Notifications
  1. All Permission>Admin Permissions>Manage>Resources>Browse
  2. All Permission>Admin Permissions>Manage>Resources>Notifications
  3. All Permission>Admin Permissions>Manage>Resources>Community
  Features


Thanks.
Ajith

>
> Thank You.
>
>
> On Tue, Apr 29, 2014 at 11:14 AM, Subash Chaturanga wrote:
>
>> Hi Chamila,
>> Apparently the user does not have "Notifications" permissions . Refer
>> [1] to add it to the user.
>>
>> [1] - https://docs.wso2.org/display/Governance460/Roles
>>
>>
>> On Tue, Apr 29, 2014 at 11:02 AM, Chamila Wijayarathna 
>> wrote:
>>
>>> Hello all,
>>> In Enterprise Store, I'm trying to implement email notification system
>>> to notify users about new versions of an asset which a particular user has
>>> already downloaded.
>>> I used registry notification system to implement this. But when user
>>> tries to verify subscription, it fails since it requires user to have admin
>>> privileges.
>>>
>>> *[2014-04-29 10:09:56,720] ERROR {java.lang.Class} -  Access Denied.
>>> Failed authorization attempt to access service 'InfoAdminService' operation
>>> 'verifyEmail' by 'chamila'*
>>>
>>> Is there any workaround for this which enables normal users to verify
>>> subscription to email notifications?
>>>
>>> Thank You!
>>>
>>>
>>> --
>>> *Chamila Wijayarathna*
>>> Engineering Intern,
>>> WSO2 Inc.
>>>
>>>
>>
>>
>> --
>> Thanks
>> /subash
>>
>> *Subash Chaturanga*
>> Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com
>>
>> email: sub...@wso2.com
>> blog:  http://subashsdm.blogspot.com/
>> twitter: @subash89
>> phone: +9477 2225922
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
> *Chamila Wijayarathna*
> Engineering Intern,
> WSO2 Inc.
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94772217350
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [G-Reg]How to verify non-admin users to registry email notifications?

2014-04-28 Thread Chamila Wijayarathna
Hi Subash,
I selected "notification" permission for everyone role, but still getting
the same result.[1] is the complete message I am receiving at terminal.
1. https://gist.github.com/cdwijayarathna/11391761

Thank You.


On Tue, Apr 29, 2014 at 11:14 AM, Subash Chaturanga  wrote:

> Hi Chamila,
> Apparently the user does not have "Notifications" permissions . Refer [1]
> to add it to the user.
>
> [1] - https://docs.wso2.org/display/Governance460/Roles
>
>
> On Tue, Apr 29, 2014 at 11:02 AM, Chamila Wijayarathna 
> wrote:
>
>> Hello all,
>> In Enterprise Store, I'm trying to implement email notification system to
>> notify users about new versions of an asset which a particular user has
>> already downloaded.
>> I used registry notification system to implement this. But when user
>> tries to verify subscription, it fails since it requires user to have admin
>> privileges.
>>
>> *[2014-04-29 10:09:56,720] ERROR {java.lang.Class} -  Access Denied.
>> Failed authorization attempt to access service 'InfoAdminService' operation
>> 'verifyEmail' by 'chamila'*
>>
>> Is there any workaround for this which enables normal users to verify
>> subscription to email notifications?
>>
>> Thank You!
>>
>>
>> --
>> *Chamila Wijayarathna*
>> Engineering Intern,
>> WSO2 Inc.
>>
>>
>
>
> --
> Thanks
> /subash
>
> *Subash Chaturanga*
> Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com
>
> email: sub...@wso2.com
> blog:  http://subashsdm.blogspot.com/
> twitter: @subash89
> phone: +9477 2225922
> Lean . Enterprise . Middleware
>



-- 
*Chamila Wijayarathna*
Engineering Intern,
WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [G-Reg]How to verify non-admin users to registry email notifications?

2014-04-28 Thread Subash Chaturanga
Hi Chamila,
Apparently the user does not have "Notifications" permissions . Refer [1]
to add it to the user.

[1] - https://docs.wso2.org/display/Governance460/Roles


On Tue, Apr 29, 2014 at 11:02 AM, Chamila Wijayarathna wrote:

> Hello all,
> In Enterprise Store, I'm trying to implement email notification system to
> notify users about new versions of an asset which a particular user has
> already downloaded.
> I used registry notification system to implement this. But when user tries
> to verify subscription, it fails since it requires user to have admin
> privileges.
>
> *[2014-04-29 10:09:56,720] ERROR {java.lang.Class} -  Access Denied.
> Failed authorization attempt to access service 'InfoAdminService' operation
> 'verifyEmail' by 'chamila'*
>
> Is there any workaround for this which enables normal users to verify
> subscription to email notifications?
>
> Thank You!
>
>
> --
> *Chamila Wijayarathna*
> Engineering Intern,
> WSO2 Inc.
>
>


-- 
Thanks
/subash

*Subash Chaturanga*
Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com

email: sub...@wso2.com
blog:  http://subashsdm.blogspot.com/
twitter: @subash89
phone: +9477 2225922
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [G-Reg]How to verify non-admin users to registry email notifications?

2014-04-28 Thread Chamila Wijayarathna
Hello all,
In Enterprise Store, I'm trying to implement email notification system to
notify users about new versions of an asset which a particular user has
already downloaded.
I used registry notification system to implement this. But when user tries
to verify subscription, it fails since it requires user to have admin
privileges.

*[2014-04-29 10:09:56,720] ERROR {java.lang.Class} -  Access Denied. Failed
authorization attempt to access service 'InfoAdminService' operation
'verifyEmail' by 'chamila'*

Is there any workaround for this which enables normal users to verify
subscription to email notifications?

Thank You!


-- 
*Chamila Wijayarathna*
Engineering Intern,
WSO2 Inc.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev