Automatically revoke permissions