From: Jeremy Stanley Date: Mon, 31 Jul 2017 15:14:08 +0000 (+0000) Subject: Error if set command is used on read-only element X-Git-Tag: 0.0.1~137 X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=commitdiff_plain;h=06d1068372f462904a718ffbbe38d9603e71873a;hp=06d1068372f462904a718ffbbe38d9603e71873a Error if set command is used on read-only element It is possible for an admin to accidentally attempt to set a facet on an element from a read-only file. If this happens, trap the PermissionError exception and return a clear error message to the user instead of crashing the service. Also add a regression test to make sure this continues to work as intended, since preventing alteration of read-only elements is a critical security measure we need to make certain we preserve going forward. ---