Error: file_put_contents(/home/sdp/web/themes-production.sdp-platform.com/storage/framework/views/bd392427fda80954729f2981f50762bb.php): Failed to open stream: Permission denied

Current law prohibits the military from conducting law enforcement

Current law prohibits the military from conducting law enforcement and intelligence activities on American soil. Is this a good idea? Why or why not?