partial imp of s/spreadit/posts/385 (action restriction formula)