myexperiment-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Myexperiment-discuss] Adding things to the API


From: Don Cruickshank
Subject: Re: [Myexperiment-discuss] Adding things to the API
Date: Fri, 27 Jan 2012 11:14:44 +0000

So perhaps what is required is to extend the user API resource to include a list of available templates for that user.  This would be calculated from the group memberships of the user rather than the sharing settings of a particular workflow.

 

When it comes to uploading or updating an actual workflow, the user can then just select from that list and provide the template reference.

 

Don.

 

> -----Original Message-----

> From: myexperiment-discuss-bounces+address@hidden

> [mailto:myexperiment-discuss-bounces+address@hidden

> On Behalf Of Finn Bacall

> Sent: 27 January 2012 10:33 AM

> To: Alan R Williams

> Cc: address@hidden;

> address@hidden

> Subject: Re: [Myexperiment-discuss] Adding things to the API

>

> Yes, but the file is parsed when the server is started up, so all the layouts are

> already in memory.

>

> The difficulty is in deciding which layouts are available for use, because this is

> determined by which groups the resource is shared with.

>

> -Finn

>

> On 27/01/12 10:17, Alan R Williams wrote:

> > I vaguely remember Finn saying that the available skins were only

> > known by looking in the file system i.e. it is not stored in the

> > database. (Finn can you confirm/deny?) If that is correct, then it

> > makes it difficult to expose the available skins in the API.

> >

> > Alan

> >

> > _______________________________________________

> > Myexperiment-discuss mailing list

> > address@hidden

> > https://lists.nongnu.org/mailman/listinfo/myexperiment-discuss

>

>

> --

> Finn Bacall

> School of Computer Science

> University of Manchester

> http://www.myexperiment.org/

>

>

> _______________________________________________

> Myexperiment-discuss mailing list

> address@hidden

> https://lists.nongnu.org/mailman/listinfo/myexperiment-discuss


reply via email to

[Prev in Thread] Current Thread [Next in Thread]