Closed franciscogouveia closed 8 years ago
Instead of
target: ['all-of', { type: 'username', value: 'fgouveia' }, { type: 'group', value: 'writer' } ]
Do something like this for an AND condition
AND
target: { username: 'fgouveia', group: 'writer' }
Use an array for a combination of AND and OR condition
OR
target: [ { username: 'fgouveia', group: 'writer' }, { username: 'anonymous', group: 'reader' } ]
very good idea, hope this will be done soon :)
Coming soon ;)
https://github.com/franciscogouveia/rbac-core/issues/12
Done!
it's getting better and better. simple and powerful :) thanks a lot
Instead of
Do something like this for an
AND
conditionUse an array for a combination of
AND
andOR
condition