Simplify target
franciscogouveia opened this issue · comments
Francisco Gouveia commented
Instead of
target: ['all-of',
{
type: 'username',
value: 'fgouveia'
},
{
type: 'group',
value: 'writer'
}
]
Do something like this for an AND
condition
target: {
username: 'fgouveia',
group: 'writer'
}
Use an array for a combination of AND
and OR
condition
target: [
{
username: 'fgouveia',
group: 'writer'
},
{
username: 'anonymous',
group: 'reader'
}
]
Hongbo LU commented
very good idea, hope this will be done soon :)
Francisco Gouveia commented
Coming soon ;)
Francisco Gouveia commented
Done!
Hongbo LU commented
it's getting better and better. simple and powerful :)
thanks a lot