def getPermissions(self):
        """
        Update the app permissions
        Returns:
            The current permission mask