sketch out metadata commands for allow lists
This commit is contained in:
parent
f86196e40a
commit
8694c17023
@ -19,6 +19,19 @@ var isValidOwner = function (owner) {
|
||||
return typeof(owner) === 'string' && owner.length === 44;
|
||||
};
|
||||
|
||||
// ["RESTRICT_ACCESS", [true], 1561623438989]
|
||||
// ["RESTRICT_ACCESS", [false], 1561623438989]
|
||||
// commands.RESTRICT_ACCESS = function (meta, args) {};
|
||||
|
||||
// ["ADD_ALLOWED", ["7eEqelGso3EBr5jHlei6av4r9w2B9XZiGGwA1EgZ-5I=", ...], 1561623438989]
|
||||
// commands.ADD_ALLOWED = function (meta, args) {};
|
||||
|
||||
// ["RM_ALLOWED", ["7eEqelGso3EBr5jHlei6av4r9w2B9XZiGGwA1EgZ-5I=", ...], 1561623438989]
|
||||
// commands.RM_ALLOWED = function (meta, args) {};
|
||||
|
||||
// ["RESET_ALLOWED", ["7eEqelGso3EBr5jHlei6av4r9w2B9XZiGGwA1EgZ-5I=", ...], 1561623438989]
|
||||
// commands.RESET_ALLOWED = function (meta, args) {};
|
||||
|
||||
// ["ADD_OWNERS", ["7eEqelGso3EBr5jHlei6av4r9w2B9XZiGGwA1EgZ-5I="], 1561623438989]
|
||||
commands.ADD_OWNERS = function (meta, args) {
|
||||
// bail out if args isn't an array
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user