Hi Achala,

How about getting the transition events from the lifecycle config? I think
that's the best possible way to do this.

for eg: lifecycle config may have following transition events for
Development stage.
 <state id="Development">
             ........
                    <transition event="Promote" target="ReadyForQA"/>
                    <transition event="On Hold" target="OnHold"/>
</state>

Please check whether any operation in
CustomLifecyclesChecklistAdminService provides this
info/or other way we can get this events.

Thanks
Thilini

On Thu, Jan 31, 2013 at 9:54 AM, Achala Aponso <[email protected]> wrote:

> As per the offline discussion with Manjula, the permission is decided in
> the perspective of the user and the current scheme does not allow to get
> the permitted operations for a particular stage. So, how about the option
> related to the semantic value in the configuration file.
>
> How should I proceed ... What will be the best approach for this.
>
> Thanks,
>
>
> On Thu, Jan 31, 2013 at 9:05 AM, Achala Aponso <[email protected]> wrote:
>
>> Hi,
>>
>> According to the current permission scheme , is it possible to do the
>> $subject.
>>
>> After looking in to the current scheme , the permission is decided in the
>> perspective of the user.
>>
>> E.g: the user has permission for a particular stage
>>         the user has permission to a particular operation. (demote,
>> promote)
>>
>> Is there a way to check the necessary operations for a particular stage.
>>
>> E.g:: Retire option is available for the Production stage, (and the other
>> operations are not allowed ).
>>
>> Another option is to use a semantic value in the configuration file.
>> (appfactory.xml) . A semantic value can be used , in a scenario where the
>> "Production" stage is given another name.
>>
>> Thanks,
>>
>> --
>> Achala Aponso
>> Software Engineer; WSO2 Inc.; http://wso2.com,
>> Email: [email protected] Mobile: +94 (77) 5234925
>> Blog: http://achala11.blogspot.com/
>>
>>
>
>
>
> --
> Achala Aponso
> Software Engineer; WSO2 Inc.; http://wso2.com,
> Email: [email protected] Mobile: +94 (77) 5234925
> Blog: http://achala11.blogspot.com/
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Thilini Ishaka
WSO2 Inc. http://wso2.com*
*bolg: thiliniishaka.blogspot.com*
*linkedin: http://lk.linkedin.com/in/thiliniishaka*
*twitter: https://twitter.com/#!/ThiliniIsh*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to