Hide the SOD Action when user doesn't have permission

if the user doesn't have permission Item.CONFIGURE or BUILD
it shouldn't have access to scan on demand.

This change also hides the action when scanning is disabled

Change-Id: I658a89688e057c6dcb9b2081b3f5cfb2a47a3e83