fix plugin permissions check