Check allowed only before performing actions