CLI2: Eliminated READCMD/WRITECMD tags

- Now tags command with DNA.
This commit is contained in:
Paul Beckingham
2015-08-22 08:29:23 -04:00
parent 703cfdf2d6
commit 257edc535a
2 changed files with 38 additions and 12 deletions

View File

@@ -288,7 +288,7 @@ void Filter::safety ()
{
if (a.hasTag ("CMD"))
{
if (a.hasTag ("WRITECMD"))
if (! a.hasTag ("READONLY"))
{
if (! context.config.getBoolean ("allow.empty.filter"))
throw std::string (STRING_TASK_SAFETY_ALLOW);