lib/fakeblock.js
function (opts) {
    opts = opts || {};
    this.name = opts.name || 'unknown';
    this.userId = opts.userId;
    this.userRole = opts.userRole || 'anonymous';
    this.acl = opts.acl || {};
    this.permissions = opts.permissions || [];
}
function (opts) {
    opts = opts || {};
    this.name = opts.name || 'unknown';
    this.userId = opts.userId;
    this.userRole = opts.userRole || 'anonymous';
    this.acl = opts.acl || {};
    this.permissions = opts.permissions || [];
}
function ( opts ) { opts = opts || { } ; this . name = opts . name || 'unknown' ; this . userId = opts . userId ; this . userRole = opts . userRole || 'anonymous' ; this . acl = opts . acl || { } ; this . permissions = opts . permissions || [ ] ; }
Set the values for Fakeblock on a per ACL and per user basis
@param opts
@constructor
Set the values for Fakeblock on a per ACL and per user basis