Implement role, member and editor in wql

Ticket

+commit
 

 

 

 

 


I'm not sure if this would work, but if editor queries are implemented could I write WQL syntax in my STARwatchlist card (or a pointer to a search card) that would then add all cards I edit to my notify list?

--Scott Keeler.....Wed Mar 05 03:49:36 PST 2008


Yes. You would add a pointer to a search card looking for cards you edited.

--John Abbe.....Wed Mar 05 18:02:10 PST 2008


Unnecessary if we expose card metadata in cards?

--John Abbe.....Tue Jul 15 17:56:39 -0700 2008


Ethan and i talked about this on the way from Portland back to Eugene, and i get know that expose card metadata in cards, at least for permissions metadata, is a Big Deal and not something we want to bite off right now. The list there might be useful for thinking about this WQL extension though.

--John Abbe.....Tue Jul 15 23:07:17 -0700 2008


And of course some exposing of metadata can be done when this ticket has been implemented. (Along with User Contributions.)

--John Abbe.....Thu Sep 18 10:03:35 -0700 2008


Looks like member works, but not role ("NoMethodError: undefined method `role' for #") or editor ("RuntimeError: Invalid attribute editor").

http://sandwagn.wagn.org/wagn/wql%2Bsamples#Users%20and%20roles

 

I created http://sandwagn.wagn.org/wagn/has_roles+*rform to ease testing.

 

Maybe just a database problem, but http://sandwagn.wagn.org/wagn/John_Abbe+has_roles doesn't show me having the JA role. Not so weird, as somehow the role was created without a JA card (or maybe the card was deleted later?).

--John Abbe.....Tue Dec 23 18:19:01 -0800 2008


Oh, Lew and I changed up the syntax a bit. I updated the WQL syntax page with the correct syntax, all of which is now demonstrated on that page:

http://wagn.org/wagn/wql+sample

... and here:

http://sandwagn.wagn.org/wagn/test_new_wql

you're right about the JA card. We should ticket that - make sure deleted roles fully disappear.

--Ethan McCutchen.....Sun Dec 28 22:29:35 -0800 2008


Cool, thx. Will almost certainly play with this in Thailand (Tuesday/Wednesday).

 

Ticketed fully delete roles when role card deleted

--John Abbe.....Mon Dec 29 00:44:58 -0800 2008


User Contributions and add role, member, editor to Related tab now doable.

--John Abbe.....Sun Jan 04 01:39:39 -0800 2009