mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
Revert "merge acl-mongodbBackend.d.ts and acl-redisBackend.d.ts into acl.d.ts"
This reverts commit 5fad551b59.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/// <reference path='acl.d.ts'/>
|
||||
/// <reference path='acl-mongodbBackend.d.ts'/>
|
||||
|
||||
// https://github.com/OptimalBits/node_acl/blob/master/Readme.md
|
||||
import Acl = require('acl');
|
||||
@@ -14,3 +14,4 @@ acl.allow('guest', 'blogs', 'view');
|
||||
|
||||
// allow function accepts arrays as any parameter
|
||||
acl.allow('member', 'blogs', ['edit','view', 'delete']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user