My database has a row
row1. ['userA', 'product', 'read']
I want to run function
addPolicies(
['userA', 'product', 'read'],
['userA', 'product', 'write']
)
I think the result should be
row1. ['userA', 'product', 'read']
row2. ['userA', 'product', 'write']
or
removePolicies(
['userA', 'product', 'read'],
['userA', 'product', 'write']
)
I think the result should be
no rows.
They're all return false
and database is not been effect
Is it intentional?
My database has a row
row1. ['userA', 'product', 'read']
I want to run function
I think the result should be
row1. ['userA', 'product', 'read']
row2. ['userA', 'product', 'write']
or
I think the result should be
no rows.
They're all return false
and database is not been effect
Is it intentional?