3 function SimpleSecurityDescriptorStrategy() {}
5 SimpleSecurityDescriptorStrategy.prototype = {
12 if (sd.type === 'ONE_TO_ONE') return;
15 type: sd.type || null,
16 linkPath: sd.linkPath || undefined
20 name: 'SimpleSecurityDescriptorStrategy'
23 function FullSecurityDescriptorStrategy() {}
25 FullSecurityDescriptorStrategy.prototype = {
32 if (sd.type === 'ONE_TO_ONE') return;
35 type: sd.type || null,
36 linkPath: sd.linkPath || undefined,
37 admins: sd.admins || undefined,
38 members: sd.members || undefined
42 name: 'FullSecurityDescriptorStrategy'
46 return new SimpleSecurityDescriptorStrategy();
50 return new FullSecurityDescriptorStrategy();