Hi,
Yes. I think it is. I have handled this time validation inside the
constructor of DefaultLifeCycle.java class itself, so that whenever a
lifecycle is taken in to account, time validity will be checked and
relevant actions will be taken. So even when an API call is triggered, and
when the associated lifecycle of an artifact is called, anyway this will be
called from the backend right? Please correct me if I am wrong.

Thanks,
Vishmi.


On Fri, May 23, 2014 at 1:17 PM, Senaka Fernando <[email protected]> wrote:

> Hi Vishmi,
>
> The same works well with the API calls right? I mean if there is an
> exemption configured, you will get the respective privileges enabled when
> you make API calls as well isn't it?
>
> Thanks,
> Senaka.
>
>
> On Thu, May 22, 2014 at 10:49 AM, Vishmi Money <[email protected]> wrote:
>
>> Hi,
>> I have developed this feature for WSO2 Governance Registry, to enable the
>> exemption of users from requiring certain privileges, to perform certain
>> life-cycle operations during a given period, based on some exemption policy.
>>
>> With this feature a specific time period can be assigned for life-cycle
>> states and can enable disable UI elements according to the time policy. And
>> also a user is notified about the privilege expiry before a defined time.
>>
>> For more information you can refer to my git hub repository.
>>
>> Git Hub Link: https://github.com/vishmimoney/greg_governance
>>
>> Further improvements:
>>
>>    - Date Format validation in xml Validation itself.
>>    - Notifications can be sent as a task for work list.
>>    - Showing a message near the UI elements saying why it is disabled.
>>    - Allow users to specify the time when notifications should be sent
>>    to them.
>>    - Improving this feature as a subscription.
>>
>>
>> --
>> Vishmi Money.
>> Engineering Intern,
>> WSO2 Inc.
>>
>
>
>
> --
>
>
> *[image: http://wso2.com] <http://wso2.com> Senaka Fernando*
> Software Architect; WSO2 Inc.; http://wso2.com
>
>
>
> * Member; Apache Software Foundation; http://apache.org
> <http://apache.org>E-mail: senaka AT wso2.com <http://wso2.com>**P: +1
> 408 754 7388 <%2B1%20408%20754%207388>; ext: 51736*;
>
>
> *M: +44 782 741 1966 <%2B44%20782%20741%201966> Linked-In:
> http://linkedin.com/in/senakafernando
> <http://linkedin.com/in/senakafernando>*Lean . Enterprise . Middleware
>



-- 
Vishmi Money.
Engineering Intern,
WSO2 Inc.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to