Hi Manuranga,

I need to get the permission levels of the assets types.

Regards,
Yasima.

On Thu, Apr 21, 2016 at 9:14 PM, Manuranga Perera <m...@wso2.com> wrote:

> Hi Yasima,
> Are you trying to retrieve permission of the dashboard or some other
> resource (profile pic, video)?
>
> On Wed, Apr 20, 2016 at 4:57 AM, Mushthaq Rumy <musht...@wso2.com> wrote:
>
>> Hi,
>>
>>
>> There is a class called PermissionUtil in org.wso2.carbon.registry.
>> resource.services.utils package in the Registry. You can use the
>> getPermissions method in the above class to get the permission level.
>>
>> Thanks & Regards,
>>
>> On Wed, Apr 20, 2016 at 1:44 PM, Yasima Dewmini <yas...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> I'm from PC team and I'm implementing process level permission support
>>> for PC. I need to get the permission level given resource, action and the
>>> user.
>>> Can I know the permission API used for this in Registry?
>>>
>>>
>>> Thanks and Regards,
>>> Yasima.
>>>
>>> --
>>> Yasima Dewmini
>>> Software Engineer, WSO2, Inc.
>>> Mobile: 0713117081
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Mushthaq Rumy
>> *Software Engineer*
>> Mobile : +94 (0) 779 492140 <%2B94%20%280%29%20773%20451194>
>> Email : musht...@wso2.com
>> WSO2, Inc.; http://wso2.com/
>> lean . enterprise . middleware.
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>



-- 
Yasima Dewmini
Software Engineer, WSO2, Inc.
Mobile: 0713117081
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to