CHECKING PERMISSIONS...