toggle and limit what actions are accessible