Page MenuHomeSealhub

access-strategy.js
No OneTemporary

access-strategy.js

var Sealious = require("sealious");
var AccessStrategy = function(access_strategy_type, params){
this.type = new Sealious.AccessStrategyType(access_strategy_type);
this.item_sensitive = this.type.item_sensitive;
this.params = params || {};
}
AccessStrategy.prototype = new function(){
this.check = function(context, item){
return this.type.check(context, this.params, item);
}
}
module.exports = AccessStrategy;

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 28, 15:04 (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1073764
Default Alt Text
access-strategy.js (423 B)

Event Timeline