Lock and unlock a project

On this page

storymaps project lock locks the project, with the same two choices as Lock project in the app. See Lock a story map project for what a locked project does.

Lock it

Choose what the password locks, then type a password of at least 4 characters, twice:

Terminal
storymaps project lock> What should the password lock? The project and its 7 unlocked maps> Password:> Confirm password:Locked Coffee shop and its 7 unlocked maps. Loyalty Card keeps its own lock.
  • The project keeps its name, story maps and order as they are. What's on each story map can still be edited.
  • The project and its maps also locks every story map that isn't locked yet. A story map with its own password keeps it.

--maps picks the second choice without asking, and --yes the first.

Lock story maps added later

A story map added after the project was locked isn't locked. --maps on a locked project asks for its password and locks only the story maps that aren't locked yet:

storymaps project lock --maps

See which story maps are locked

storymaps status ends each line with the lock that story map has:

Terminal
storymaps status Coffee shophttps://storymaps.io/p/k8f2m9xqproject locked   Coffee App     abc12345.yml  ░░░░░░░░░░░░░░░░░░░░ 0/18 (0%)    locked  Checkout       k3x9w2pq.yml  ██████████░░░░░░░░░░ 2/4  (50%)   locked  Loyalty Card   m7q2r8tz.yml  █████░░░░░░░░░░░░░░░ 1/4  (25%)   own lock  Gift Cards     g1ft5c4d.yml  ░░░░░░░░░░░░░░░░░░░░ 0/2  (0%)    locked  Merch          zbyf2k7s.yml  ░░░░░░░░░░░░░░░░░░░░ 0/1  (0%)    locked  Menu Board     n5b8d2wq.yml  ░░░░░░░░░░░░░░░░░░░░ 0/2  (0%)    locked  Seasonal Menu  ougxixd8.yml  ░░░░░░░░░░░░░░░░░░░░ 0/1  (0%)    locked  Breakfast      iajfqtjq.yml  ░░░░░░░░░░░░░░░░░░░░ 0/1  (0%)    locked   Total                        ██░░░░░░░░░░░░░░░░░░ 3/33 stories (9%)

locked means locked with the project password, and own lock means a story map with its own password.

Unlock it for your pushes

storymaps project unlock checks the password and saves a hash of it on this computer, never the password itself, as typing it in the app does. Then it asks whether to unlock the story maps that use the project password too, so pushes and backups don't ask for it:

Terminal
storymaps project unlock> Password:> Also unlock the 7 maps locked with the project password, on this computer? YesUnlocked Coffee shop and 7 maps on this computer.Loyalty Card is still locked. To unlock it, run storymaps unlock -f storymaps/m7q2r8tz.yml

--maps answers yes without asking. Everyone else still sees the project and its story maps locked.

Take the lock off

--remove takes the lock off for everyone, after a warning. It asks whether to take the lock off the story maps that use the project password too. The answer is no unless you say yes, as in the app:

Terminal
storymaps project unlock --removeAnyone with the link will be able to change the name, maps and order of Coffee shop, and delete it.> Password:> Also remove the lock from 7 maps? They have a project lock. NoRemoved the lock from Coffee shop. Its maps keep their locks.

--remove --maps takes them all off without asking.

One story map

storymaps lock and storymaps unlock work on one story map, named with -f. In a project folder without it, they say so:

Terminal
storymaps lockName a map with -f. To lock the whole project, run storymaps project lock

See Lock and unlock a story map.