It is the permission string. The operation is accessible only for user who
are authorized to that permission.

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729


On Mar 24, 2015 1:30 PM, "Pubudu Dodangoda" <[email protected]> wrote:

> Hi Danushka,
> Thanks for the reply,
>
> What I don't understand here is this part , "/permission/admin/manage/
> event-streams"
>
> Can you explain it a bit
>
> Thanks and Regards,
>
> On Tue, Mar 24, 2015 at 1:25 PM, Danushka Fernando <[email protected]>
> wrote:
>
>> Hi Pubudu
>> Yes it's doable with mentioned code. What it says is authorize the given
>> operation for the mentioned permission.
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>>
>> On Mar 24, 2015 11:53 AM, "Pubudu Dodangoda" <[email protected]> wrote:
>>
>>> Is it possible to do $Subject by editing the services.xml file?
>>>
>>> I think adding something similar to follows should do. But I have no
>>> idea about the elements and the attributes in the following xml code section
>>>
>>> <operation name="getStreamDefinitionDto">
>>>     <parameter name="AuthorizationAction" locked="true">
>>>         /permission/admin/manage/event-streams
>>>     </parameter>
>>> </operation>
>>>
>>> Can someone explain the above code-section, and how it would be used in
>>> another case?
>>>
>>> Reference - CEP-Event Stream manager - services.xml
>>> <https://github.com/wso2/carbon-event-processing/blob/master/components/event-stream/event-stream-manager/org.wso2.carbon.event.stream.manager.admin/src/main/resources/META-INF/services.xml>
>>>
>>> Thank you,
>>> --
>>> Pubudu Dodangoda
>>> BSc Engineering(Hon's) Undergraduate
>>> Department of Computer Science Engineering
>>> University of Moratuwa
>>> 0716053681 / 0775192994
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>
>
> --
> Pubudu Dodangoda
> BSc Engineering(Hon's) Undergraduate
> Department of Computer Science Engineering
> University of Moratuwa
> 0716053681 / 0775192994
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to