Open algebris opened 8 years ago
Hi! I would like to build something like
{ roles: 'anonymous', allows: [ { resources: ['articles'], permissions: 'view' }, { resources: ['articles/:id'], permissions: 'view' }, { resources: ['articles/123'], permissions: 'update' } ] }
Is it possible to add exception for article with id=123 to UPDATE it? And other articles still matches only VIEW.
2) is it possible to add permission like allow(userId, resource, permissions)?
allow(userId, resource, permissions)
Thnx
Hi! I would like to build something like
Is it possible to add exception for article with id=123 to UPDATE it? And other articles still matches only VIEW.
2) is it possible to add permission like
allow(userId, resource, permissions)
?Thnx