mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
Permissions authorization middleware.
This commit is contained in:
10
server/tests/routes/authorization.test.js
Normal file
10
server/tests/routes/authorization.test.js
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
describe('Authorization', () => {
|
||||
it('Should response unauthorized in case use has no role has permissions to the given resource.', () => {
|
||||
|
||||
});
|
||||
|
||||
it('Should response authorized in case user has role has all permissions.', () => {
|
||||
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user