Added permissions functionality

This commit is contained in:
Mitchell McCaffrey
2020-04-26 14:34:27 +10:00
parent 4c65aac189
commit fbdb68596e
5 changed files with 171 additions and 83 deletions

View File

@@ -20,7 +20,7 @@ const defaultMapState = {
drawActionIndex: -1,
drawActions: [],
// Flags to determine what other people can edit
editFlags: ["drawings", "tokens"],
editFlags: ["map", "drawings", "tokens"],
};
const defaultMapProps = {