diff --git a/README.md b/README.md index 2fc2d5f..1c50c9c 100644 --- a/README.md +++ b/README.md @@ -267,7 +267,7 @@ let grantList = [ { role: 'admin', resource: 'video', action: 'delete:any', attributes: '*' }, { role: 'user', resource: 'video', action: 'create:own', attributes: '*, !rating, !views' }, - { role: 'user', resource: 'video', action: 'read:any', attributes: '*' }, + { role: 'user', resource: 'video', action: 'read:own', attributes: '*' }, { role: 'user', resource: 'video', action: 'update:own', attributes: '*, !rating, !views' }, { role: 'user', resource: 'video', action: 'delete:own', attributes: '*' } ];