On Wed, Jun 20, 2018 at 2:26 PM doodad-js Admin <dooda...@gmail.com> wrote:
> > > I was not aware of that proposal or didn’t pay attention.I think > “safeEval” provides ACLs, while your proposal don’t. > Neither the realms proposal nor the frozen realms proposal include ACLs. Where are the ACLs in safeeval? I see some privileges via options at L72-75 <https://github.com/doodadjs/doodad-js-safeeval/blob/e895e88ff6100dcdd15edfcedff4bd85aaec099c/src/common/Tools_SafeEval.js#L72-L75> : const preventAssignment = types.get(options, 'preventAssignment', true), allowFunctions = types.get(options, 'allowFunctions', false), // EXPERIMENTAL allowNew = types.get(options, 'allowNew', false), // EXPERIMENTAL allowRegExp = types.get(options, 'allowRegExp', false); // EXPERIMENTAL but, as I understand the term, ACLs are usually the set of privileges available to a principal, the rows in an access control matrix. How are you defining "principal?"
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss