Is there a way to do this through the Governance API or will I need to use the Admin API. Everything I'm doing with Turmeric needs to be handled idealy through the RemoteRegistry API as I'm implementing the Turmeric Repository Service to interface with the WSO2 Governance 4.0 registry. So items that can only be controlled through the user interface don't do me much good.
A work around I can do is to set a custom attribute on a service to indicate if it is locked or unlocked, but that doesn't make it available through the WSO2 ui unless I start writin custom extensions, which I'd rather not do. Dave On Sep 9, 2011 4:44 AM, "Senaka Fernando" <[email protected]> wrote: > On Fri, Sep 9, 2011 at 11:19 AM, Sadeep Jayasumana <[email protected]> wrote: > >> Hi, >> >> WSO2 GReg 4.0.0 has a concept called Resource Retention. In the GReg UI >> resource browser, a user can lock a resource using the "Retention" portlet. >> >> PropertiesAdminService is used for locking the resource. Please check >> setRetentionProperties() and getRetentionProperties() methods in that >> service. A registry handler named RetentionHandler is used behind the scenes >> to implement this feature. >> > > +1, retention is ideal, however it restricts ability to write/delete to a > single person. However, you can easily extend the default retention handler > to extend this to support a group of people. Also, though not ideal, the > same thing can be done in a way using permissions (without having make > changes), as suggested by Tharindu. > > Thanks, > Senaka. > >> >> Thanks, >> Sadeep >> >> >> On Fri, Sep 9, 2011 at 1:34 AM, David Carver <[email protected]> wrote: >> >>> Is there a way to mark an artifact as being locked? I.e. so that only >>> certain people can make changes to it? Or do I need to add some special >>> attributes and handlers to address this situation? >>> >>> Dave >>> >>> ______________________________**_________________ >>> Carbon-dev mailing list >>> [email protected] >>> http://mail.wso2.org/cgi-bin/**mailman/listinfo/carbon-dev< http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev> >>> >> >> >> >> -- >> Sadeep Jayasumana >> >> Software Engineer >> WSO2 Inc. >> Email - [email protected] >> Mobile - +94 77 22 66 507 >> >> _______________________________________________ >> Architecture mailing list >> [email protected] >> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >> >> > > > -- > *Senaka Fernando* > Product Manager - WSO2 Governance Registry; > Associate Technical Lead; WSO2 Inc.; http://wso2.com* > Member; Apache Software Foundation; http://apache.org > > E-mail: senaka AT wso2.com > **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 > Linked-In: http://linkedin.com/in/senakafernando > > *Lean . Enterprise . Middleware
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
