egg-authz
egg-authz copied to clipboard
egg-authz is an authorization middleware for Egg.js based on Casbin
Results
1
egg-authz issues
Sort by
recently updated
recently updated
newest added
For example: ``` it('test: p, bob, /dataset2/resource1, * - DELETE', async () => { app.mockCsrf() const response = await app.httpRequest() .delete('/dataset2/resource') .set('Authorization', 'bob') assert(response.status === 403) }) ``` test /dataset2/resource1,...
enhancement